Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.001493/0.001493, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.53/1.53, allocations: 230.6 MB / 253.4 MB, free: 14.46 MB / 206.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.001682/0.001682, allocations: 210.8 kB / 310 MB, free: 3.059 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.04253/0.04253, allocations: 8.911 MB / 375.3 MB, free: 6.605 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.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 85.91 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.0898, allocations: 55.61 MB / 0.5446 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003065/0.09286, allocations: 1.692 MB / 0.5463 GB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.09314, allocations: 103.6 kB / 0.5464 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.09319, allocations: 0 / 0.5464 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.09326, allocations: 11.86 kB / 0.5464 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.09335, allocations: 39.69 kB / 0.5464 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.09349, allocations: 23.91 kB / 0.5465 GB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.09364, allocations: 115.4 kB / 0.5466 GB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.0938, allocations: 31.92 kB / 0.5466 GB, free: 2.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.09386, allocations: 39.86 kB / 0.5466 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.09395, allocations: 47.83 kB / 0.5467 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.09398, allocations: 8 kB / 0.5467 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.094, allocations: 8 kB / 0.5467 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.09403, allocations: 19.92 kB / 0.5467 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.09409, allocations: 47.8 kB / 0.5468 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.09428, allocations: 107.6 kB / 0.5469 GB, free: 2.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09428, allocations: 0 / 0.5469 GB, free: 2.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09428, allocations: 0 / 0.5469 GB, free: 2.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09429, allocations: 0 / 0.5469 GB, free: 2.273 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005244/0.09481, allocations: 318 kB / 0.5472 GB, free: 1.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.09485, allocations: 15.98 kB / 0.5472 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.09489, allocations: 12.89 kB / 0.5472 GB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.09502, allocations: 122.4 kB / 0.5473 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.09504, allocations: 8.375 kB / 0.5473 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.09507, allocations: 8.375 kB / 0.5473 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.09527, allocations: 93.28 kB / 0.5474 GB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.09529, allocations: 4.172 kB / 0.5474 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.0953, allocations: 7.938 kB / 0.5474 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.09531, allocations: 3.938 kB / 0.5474 GB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.09543, allocations: 59.97 kB / 0.5475 GB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.09608, allocations: 352 kB / 0.5478 GB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.09633, allocations: 82.48 kB / 0.5479 GB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.0964, allocations: 36.83 kB / 0.5479 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.09641, allocations: 0 / 0.5479 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.09644, allocations: 38.56 kB / 0.548 GB, free: 1.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.09644, allocations: 0 / 0.548 GB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.09697, allocations: 150.5 kB / 0.5481 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.09701, allocations: 51.41 kB / 0.5482 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.09711, allocations: 105.8 kB / 0.5483 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.09713, allocations: 29.7 kB / 0.5483 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.0972, allocations: 111.9 kB / 0.5484 GB, free: 0.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.09723, allocations: 23.75 kB / 0.5484 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.09728, allocations: 29.64 kB / 0.5485 GB, free: 496 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.09743, allocations: 318.8 kB / 0.5488 GB, free: 168 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.09747, allocations: 15.98 kB / 0.5488 GB, free: 152 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.09752, allocations: 37.66 kB / 0.5488 GB, free: 108 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.09761, allocations: 57.7 kB / 0.5489 GB, free: 44 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.09762, allocations: 4 kB / 0.5489 GB, free: 40 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002439/0.09786, allocations: 114.5 kB / 0.549 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.09787, allocations: 4 kB / 0.549 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.09788, allocations: 4 kB / 0.549 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.09805, allocations: 24.84 kB / 0.549 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.09812, allocations: 15.98 kB / 0.549 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.09934, allocations: 1.296 MB / 0.5503 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.09937, allocations: 0 / 0.5503 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.09938, allocations: 8.031 kB / 0.5503 GB, free: 14.46 MB / 382.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.09949, allocations: 113.8 kB / 0.5504 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.09952, allocations: 8.094 kB / 0.5504 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.09955, allocations: 12.36 kB / 0.5504 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.09955, allocations: 4.062 kB / 0.5504 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.09956, allocations: 7.938 kB / 0.5504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09956, allocations: 0 / 0.5504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.09974, allocations: 141.5 kB / 0.5506 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.09974, allocations: 0 / 0.5506 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.09983, allocations: 23.86 kB / 0.5506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.25e-05/0.09992, allocations: 28.78 kB / 0.5506 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.09993, allocations: 0 / 0.5506 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1011, allocations: 1.3 MB / 0.5519 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1011, allocations: 0 / 0.5519 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1014, allocations: 220.3 kB / 0.5521 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.1014, allocations: 4.031 kB / 0.5521 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1014, allocations: 3.984 kB / 0.5521 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1014, allocations: 0 / 0.5521 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.1015, allocations: 11.94 kB / 0.5521 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1015, allocations: 3.984 kB / 0.5521 GB, free: 12.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.1015, allocations: 83.28 kB / 0.5522 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1015, allocations: 4.125 kB / 0.5522 GB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1018, allocations: 35.89 kB / 0.5523 GB, free: 12.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.1019, allocations: 99.38 kB / 0.5523 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.1022, allocations: 166.6 kB / 0.5525 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1022, allocations: 0 / 0.5525 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.1024, allocations: 147.6 kB / 0.5526 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1027, allocations: 27.92 kB / 0.5527 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.1033, allocations: 305 kB / 0.553 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.1034, allocations: 87.31 kB / 0.553 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.1034, allocations: 11.44 kB / 0.5531 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1034, allocations: 0 / 0.5531 GB, free: 11.39 MB / 382.1 MB Notification: Performance of Templates: time 0.003558/0.107, allocations: 1.596 MB / 0.5546 GB, free: 9.793 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.583437798079103] Failed to read output from testmodel.py, exit status != 0: 0.1142168901860714 0.31188901699999994 0.21506957599999996 Calling exit ...