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.0007511/0.0007511, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001746, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.02/1.02, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1913/1.211, allocations: 53.65 MB / 242 MB, free: 2.633 MB / 234.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.000828/0.000828, allocations: 168.1 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001857, allocations: 471 kB / 243.4 MB, free: 1.297 MB / 234.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.02412/0.02412, allocations: 6.659 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005611/0.02973, allocations: 2.661 MB / 253.5 MB, free: 7.426 MB / 250.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.382e-06/1.382e-06, allocations: 0 / 254.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.785e-05, allocations: 6.25 kB / 254.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002013/0.002031, allocations: 1.838 MB / 256.6 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.002185, allocations: 103.5 kB / 256.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.002233, allocations: 0 / 256.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.002283, allocations: 15.86 kB / 256.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.002333, allocations: 39.64 kB / 256.7 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.715e-05/0.0024, allocations: 27.95 kB / 256.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002508, allocations: 119.3 kB / 256.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.002628, allocations: 31.97 kB / 256.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.002812, allocations: 75.81 kB / 257 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.002905, allocations: 31.91 kB / 257 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.002936, allocations: 8 kB / 257 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.002954, allocations: 15.94 kB / 257 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.002978, allocations: 15.94 kB / 257 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.003014, allocations: 31.94 kB / 257.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003151, allocations: 75.73 kB / 257.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.003164, allocations: 0 / 257.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003165, allocations: 4 kB / 257.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.003174, allocations: 0 / 257.2 MB, free: 3.719 MB / 250.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.0004226/0.003597, allocations: 312.3 kB / 257.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.003633, allocations: 8.031 kB / 257.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.003668, allocations: 16.92 kB / 257.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.003759, allocations: 121.7 kB / 257.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.003773, allocations: 16.17 kB / 257.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.003799, allocations: 4.375 kB / 257.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.003909, allocations: 82.2 kB / 257.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003917, allocations: 192 / 257.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.003926, allocations: 384 / 257.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.003933, allocations: 4.375 kB / 257.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.003986, allocations: 27.17 kB / 257.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.004361, allocations: 271.9 kB / 258 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.004507, allocations: 62.48 kB / 258.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.004534, allocations: 28.78 kB / 258.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.004542, allocations: 4 kB / 258.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004561, allocations: 30.56 kB / 258.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.004562, allocations: 4 kB / 258.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002669/0.004829, allocations: 106.6 kB / 258.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.004864, allocations: 55.34 kB / 258.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.004922, allocations: 110.7 kB / 258.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.004931, allocations: 29.7 kB / 258.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.004977, allocations: 115.9 kB / 258.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.004997, allocations: 27.73 kB / 258.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.005024, allocations: 21.7 kB / 258.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.005277, allocations: 318.8 kB / 258.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.005294, allocations: 4 kB / 258.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.005326, allocations: 25.64 kB / 258.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.005377, allocations: 41.69 kB / 259 MB, free: 1.746 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005379, allocations: 0 / 259 MB, free: 1.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001324/0.005511, allocations: 78.47 kB / 259 MB, free: 1.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.005527, allocations: 10.59 kB / 259 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.005531, allocations: 3.938 kB / 259.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.005674, allocations: 28.83 kB / 259.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.005761, allocations: 23.97 kB / 259.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.00645, allocations: 1.18 MB / 260.3 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.006471, allocations: 3.953 kB / 260.3 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006476, allocations: 8 kB / 260.3 MB, free: 324 kB / 250.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 8.106e-05/0.006557, allocations: 121.8 kB / 260.4 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.006573, allocations: 8 kB / 260.4 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.006596, allocations: 8.438 kB / 260.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.006597, allocations: 0 / 260.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.006599, allocations: 0 / 260.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.006603, allocations: 0 / 260.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.006706, allocations: 97.73 kB / 260.5 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006707, allocations: 4.031 kB / 260.5 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.006785, allocations: 23.92 kB / 260.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.006791, allocations: 7.953 kB / 260.6 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/0.006858, allocations: 20.84 kB / 260.6 MB, free: 0 / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.006877, allocations: 80 / 260.6 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005204/0.007397, allocations: 1.202 MB / 261.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.007399, allocations: 3.938 kB / 261.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.007526, allocations: 184.2 kB / 262 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-06/0.007531, allocations: 0 / 262 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.007567, allocations: 3.938 kB / 262 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.007583, allocations: 11.98 kB / 262 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.007585, allocations: 0 / 262 MB, free: 14.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.656e-05/0.007601, allocations: 16.84 kB / 262 MB, free: 14.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.007601, allocations: 0 / 262 MB, free: 14.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.007755, allocations: 35.89 kB / 262 MB, free: 14.43 MB / 266.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.474e-05/0.00783, allocations: 76.48 kB / 262.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.008378, allocations: 155.4 kB / 262.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.008385, allocations: 0 / 262.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.008463, allocations: 151.4 kB / 262.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.008646, allocations: 127.3 kB / 262.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.01031, allocations: 241.5 kB / 262.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.01035, allocations: 68.22 kB / 262.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.01038, allocations: 7.984 kB / 262.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.01044, allocations: 63.36 kB / 262.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01044, allocations: 4 kB / 262.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002799/0.01324, allocations: 1.307 MB / 264.2 MB, free: 12.16 MB / 266.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.7612022161483765]