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.0009541/0.0009541, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.024/1.024, allocations: 177.2 MB / 200.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.001639/0.001639, allocations: 159.6 kB / 257 MB, free: 13.03 MB / 250.7 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.02444/0.02444, allocations: 6.653 MB / 320.1 MB, free: 26.59 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 391.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.241e-05, allocations: 2.312 kB / 391.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002113/0.002136, allocations: 1.774 MB / 393.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.002409, allocations: 111.6 kB / 393.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.002462, allocations: 0 / 393.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.002513, allocations: 15.86 kB / 393.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.002588, allocations: 35.64 kB / 393.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.002727, allocations: 23.97 kB / 393.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002841, allocations: 115.3 kB / 393.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.002972, allocations: 43.97 kB / 393.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.003045, allocations: 67.86 kB / 393.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.003129, allocations: 27.97 kB / 393.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.003154, allocations: 12 kB / 393.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.003169, allocations: 8 kB / 393.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.003193, allocations: 23.91 kB / 393.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.003232, allocations: 35.92 kB / 393.9 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003357, allocations: 71.75 kB / 394 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003359, allocations: 0 / 394 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00336, allocations: 0 / 394 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003364, allocations: 4 kB / 394 MB, free: 0.6016 MB / 314.7 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.0004067/0.003771, allocations: 420.3 kB / 394.4 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.003806, allocations: 8.031 kB / 394.4 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.003853, allocations: 20.89 kB / 394.4 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.003964, allocations: 124.5 kB / 394.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.003979, allocations: 8.375 kB / 394.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.004006, allocations: 12.38 kB / 394.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004138, allocations: 78.03 kB / 394.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004148, allocations: 192 / 394.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.00416, allocations: 384 / 394.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.004168, allocations: 8.375 kB / 394.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.004247, allocations: 43.84 kB / 394.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.004735, allocations: 387.4 kB / 395.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.004906, allocations: 75.02 kB / 395.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.00495, allocations: 35.61 kB / 395.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.004958, allocations: 4 kB / 395.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004978, allocations: 37.33 kB / 395.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.004982, allocations: 4 kB / 395.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003336/0.005316, allocations: 129.2 kB / 395.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.00534, allocations: 51.41 kB / 395.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.005423, allocations: 169.9 kB / 395.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005433, allocations: 25.7 kB / 395.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.005497, allocations: 154.6 kB / 395.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.005518, allocations: 27.91 kB / 395.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.005553, allocations: 31.38 kB / 395.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.005679, allocations: 0.4923 MB / 396.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.005705, allocations: 12 kB / 396.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.005742, allocations: 27.36 kB / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.005807, allocations: 63.41 kB / 396.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005809, allocations: 0 / 396.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.005951, allocations: 101.2 kB / 396.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.005964, allocations: 4 kB / 396.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005968, allocations: 4.031 kB / 396.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.006121, allocations: 27.67 kB / 396.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.00617, allocations: 19.94 kB / 396.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008557/0.007025, allocations: 1.764 MB / 398.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.00705, allocations: 15.83 kB / 398.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.007054, allocations: 3.938 kB / 398.3 MB, free: 11.89 MB / 330.7 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 7.345e-05/0.007128, allocations: 164.6 kB / 398.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.007143, allocations: 4 kB / 398.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.007161, allocations: 12.44 kB / 398.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.007164, allocations: 4 kB / 398.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007167, allocations: 4 kB / 398.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00717, allocations: 0 / 398.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.007285, allocations: 144.5 kB / 398.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.007287, allocations: 0 / 398.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.007336, allocations: 19.98 kB / 398.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.259e-05/0.007409, allocations: 27.67 kB / 398.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007416, allocations: 0 / 398.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/0.008088, allocations: 1.764 MB / 400.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008089, allocations: 3.938 kB / 400.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.008266, allocations: 259.4 kB / 400.7 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.008274, allocations: 15.88 kB / 400.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-06/0.00828, allocations: 4.062 kB / 400.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.00831, allocations: 0 / 400.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.008333, allocations: 11.98 kB / 400.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.008337, allocations: 4 kB / 400.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.008374, allocations: 123.9 kB / 400.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008374, allocations: 0 / 400.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000176/0.00855, allocations: 28 kB / 400.9 MB, free: 9.121 MB / 330.7 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 7.922e-05/0.008629, allocations: 99.17 kB / 401 MB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.008886, allocations: 225.4 kB / 401.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008888, allocations: 0 / 401.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.008992, allocations: 201.7 kB / 401.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.009189, allocations: 12.09 kB / 401.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.009767, allocations: 262.3 kB / 401.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.009804, allocations: 67.28 kB / 401.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.009826, allocations: 3.984 kB / 401.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.009847, allocations: 16.5 kB / 401.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009847, allocations: 0 / 401.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of Templates: time 0.002709/0.01256, allocations: 1.071 MB / 402.9 MB, free: 7.102 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.976858764886856]