Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.367/1.367, allocations: 177.2 MB / 199.4 MB, free: 8.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 155.5 kB / 256 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03778/0.03778, allocations: 6.667 MB / 319 MB, free: 5.375 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 4 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.485e-05, allocations: 2.281 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001523/0.001538, allocations: 1.294 MB / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 2.735e-05/0.001566, allocations: 4 kB / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.001581, allocations: 0 / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.001601, allocations: 3.938 kB / 447.2 MB, free: 23.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.00163, allocations: 7.922 kB / 447.2 MB, free: 23.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.566e-06/0.001639, allocations: 4 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.871e-05/0.001668, allocations: 4 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.00171, allocations: 7.984 kB / 447.2 MB, free: 23.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.001728, allocations: 7.938 kB / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/0.001752, allocations: 0 / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.001767, allocations: 4 kB / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-06/0.001771, allocations: 0 / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.001781, allocations: 0 / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.001797, allocations: 4 kB / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.293e-05/0.00184, allocations: 11.92 kB / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.001841, allocations: 0 / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.41e-07/0.001842, allocations: 0 / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.001845, allocations: 0 / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002244/0.002069, allocations: 250.4 kB / 447.5 MB, free: 23.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.002095, allocations: 19.91 kB / 447.5 MB, free: 23.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.002114, allocations: 0.9375 kB / 447.5 MB, free: 23.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.01e-05/0.002184, allocations: 109.8 kB / 447.6 MB, free: 23.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002195, allocations: 384 / 447.6 MB, free: 23.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.002203, allocations: 384 / 447.6 MB, free: 23.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.674e-05/0.002259, allocations: 39.98 kB / 447.6 MB, free: 23.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.002267, allocations: 192 / 447.6 MB, free: 23.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.002273, allocations: 8.375 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.002276, allocations: 384 / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.345e-05/0.00229, allocations: 11.88 kB / 447.7 MB, free: 23.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.002471, allocations: 415.3 kB / 448.1 MB, free: 22.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.002514, allocations: 169.2 kB / 448.2 MB, free: 22.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.002527, allocations: 84.14 kB / 448.3 MB, free: 22.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.002539, allocations: 83.2 kB / 448.4 MB, free: 22.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.002552, allocations: 105.8 kB / 448.5 MB, free: 22.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.002553, allocations: 0 / 448.5 MB, free: 22.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 4.994e-05/0.002603, allocations: 33.64 kB / 448.5 MB, free: 22.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.002633, allocations: 126.7 kB / 448.7 MB, free: 22.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.002699, allocations: 105.8 kB / 448.8 MB, free: 22.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-06/0.002703, allocations: 25.7 kB / 448.8 MB, free: 22.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.002731, allocations: 96.02 kB / 448.9 MB, free: 22.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.002733, allocations: 0 / 448.9 MB, free: 22.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.002754, allocations: 17.72 kB / 448.9 MB, free: 22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.002794, allocations: 310.8 kB / 449.2 MB, free: 21.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/0.002803, allocations: 4 kB / 449.2 MB, free: 21.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.002815, allocations: 21.64 kB / 449.2 MB, free: 21.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.002835, allocations: 13.72 kB / 449.2 MB, free: 21.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.002836, allocations: 4 kB / 449.2 MB, free: 21.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.98e-05/0.002896, allocations: 49.66 kB / 449.3 MB, free: 21.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.002907, allocations: 10.28 kB / 449.3 MB, free: 21.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.00291, allocations: 0 / 449.3 MB, free: 21.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.002924, allocations: 4 kB / 449.3 MB, free: 21.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.00295, allocations: 0 / 449.3 MB, free: 21.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.002954, allocations: 3.984 kB / 449.3 MB, free: 21.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.002972, allocations: 11.92 kB / 449.3 MB, free: 21.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.002975, allocations: 0 / 449.3 MB, free: 21.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.003012, allocations: 185.1 kB / 449.5 MB, free: 21.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.003046, allocations: 104.9 kB / 449.6 MB, free: 21.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.003065, allocations: 119.9 kB / 449.7 MB, free: 21.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.003085, allocations: 184.3 kB / 449.9 MB, free: 20.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.003108, allocations: 184.2 kB / 450.1 MB, free: 20.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.003129, allocations: 180.5 kB / 450.3 MB, free: 20.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.003223, allocations: 352.8 kB / 450.6 MB, free: 20.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.003236, allocations: 113 kB / 450.7 MB, free: 20.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.003247, allocations: 101 kB / 450.8 MB, free: 19.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.003269, allocations: 180.2 kB / 451 MB, free: 19.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.003292, allocations: 180.3 kB / 451.2 MB, free: 19.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-05/0.003313, allocations: 184.1 kB / 451.3 MB, free: 19.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/0.003334, allocations: 184.5 kB / 451.5 MB, free: 19.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.35e-05/0.003388, allocations: 311.8 kB / 451.8 MB, free: 18.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.003407, allocations: 101 kB / 451.9 MB, free: 18.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.003435, allocations: 188.2 kB / 452.1 MB, free: 18.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.00349, allocations: 108.9 kB / 452.2 MB, free: 18.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.003513, allocations: 180.3 kB / 452.4 MB, free: 18.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.003526, allocations: 108.9 kB / 452.5 MB, free: 18.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.003558, allocations: 83.28 kB / 452.6 MB, free: 18.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.003558, allocations: 0 / 452.6 MB, free: 18.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.003767, allocations: 0 / 452.6 MB, free: 18.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.089e-05/0.003818, allocations: 174.5 kB / 452.8 MB, free: 17.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.435e-05/0.003853, allocations: 4 kB / 452.8 MB, free: 17.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.003858, allocations: 0 / 452.8 MB, free: 17.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.003859, allocations: 3.938 kB / 452.8 MB, free: 17.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.004086, allocations: 463.6 kB / 453.2 MB, free: 17.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001164/0.004202, allocations: 160.1 kB / 453.4 MB, free: 17.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.321e-05/0.004225, allocations: 59.34 kB / 453.4 MB, free: 17.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.001e-05/0.004235, allocations: 0 / 453.4 MB, free: 17.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.004246, allocations: 12.62 kB / 453.4 MB, free: 17.19 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.004246, allocations: 4 kB / 453.4 MB, free: 17.18 MB / 334.1 MB Notification: Performance of Templates: time 0.001868/0.006114, allocations: 213.2 kB / 453.7 MB, free: 16.98 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.234565384685993] Failed to read output from testmodel.py, exit status != 0: 0.011650033295154572 0.021466604 0.017531593 Calling exit ...