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.001062/0.001062, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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 0.9876/0.9876, allocations: 177.2 MB / 200 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.001304/0.001304, allocations: 163.8 kB / 256.6 MB, free: 12.97 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.03194/0.03194, allocations: 6.661 MB / 319.8 MB, free: 26.5 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.473e-06/1.473e-06, allocations: 0 / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.764e-05, allocations: 5.969 kB / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002306/0.002334, allocations: 1.778 MB / 393.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.002606, allocations: 99.59 kB / 393.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.002662, allocations: 4 kB / 393.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.002714, allocations: 11.86 kB / 393.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.002786, allocations: 39.69 kB / 393.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002923, allocations: 23.92 kB / 393.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003029, allocations: 127.2 kB / 393.7 MB, free: 492 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.003162, allocations: 35.97 kB / 393.7 MB, free: 456 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.003234, allocations: 63.89 kB / 393.8 MB, free: 392 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.003317, allocations: 31.95 kB / 393.8 MB, free: 360 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.003338, allocations: 8 kB / 393.8 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.003355, allocations: 11.94 kB / 393.9 MB, free: 340 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003375, allocations: 15.98 kB / 393.9 MB, free: 324 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.003413, allocations: 39.91 kB / 393.9 MB, free: 284 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003541, allocations: 79.75 kB / 394 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003543, allocations: 0 / 394 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.003545, allocations: 0 / 394 MB, free: 204 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003549, allocations: 0 / 394 MB, free: 204 kB / 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.0003729/0.003922, allocations: 420.3 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.003958, allocations: 8.031 kB / 394.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.004001, allocations: 16.89 kB / 394.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.004084, allocations: 128.4 kB / 394.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.004097, allocations: 8.375 kB / 394.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.004124, allocations: 12.38 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.00424, allocations: 78.08 kB / 394.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004248, allocations: 192 / 394.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.004259, allocations: 4.375 kB / 394.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004265, allocations: 384 / 394.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.004343, allocations: 47.84 kB / 394.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.004811, allocations: 387.3 kB / 395.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.004973, allocations: 75.02 kB / 395.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.005014, allocations: 35.69 kB / 395.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.005022, allocations: 0 / 395.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.005042, allocations: 41.38 kB / 395.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.005043, allocations: 0 / 395.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003216/0.005365, allocations: 133.3 kB / 395.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.00539, allocations: 51.41 kB / 395.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.005468, allocations: 165.9 kB / 395.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005479, allocations: 29.7 kB / 395.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.005549, allocations: 154.7 kB / 395.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.005568, allocations: 27.73 kB / 395.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.005604, allocations: 35.31 kB / 395.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.00572, allocations: 0.4884 MB / 396.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.005743, allocations: 11.98 kB / 396.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.005782, allocations: 31.36 kB / 396.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.005843, allocations: 55.44 kB / 396.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005845, allocations: 0 / 396.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.00599, allocations: 101.2 kB / 396.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.006009, allocations: 8 kB / 396.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006014, allocations: 0 / 396.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.006168, allocations: 31.66 kB / 396.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.006216, allocations: 15.98 kB / 396.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008625/0.007079, allocations: 1.768 MB / 398.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.007102, allocations: 11.83 kB / 398.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.007108, allocations: 4 kB / 398.3 MB, free: 11.5 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 0.0002295/0.007338, allocations: 160.5 kB / 398.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.007359, allocations: 8 kB / 398.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.007378, allocations: 12.44 kB / 398.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007381, allocations: 3.984 kB / 398.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.007386, allocations: 4 kB / 398.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007389, allocations: 0 / 398.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.007508, allocations: 140.5 kB / 398.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.00751, allocations: 4.031 kB / 398.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.007563, allocations: 19.98 kB / 398.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.661e-05/0.00764, allocations: 27.75 kB / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.007649, allocations: 3.984 kB / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007232/0.008372, allocations: 1.768 MB / 400.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008373, allocations: 32 / 400.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.008563, allocations: 263.4 kB / 400.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.008572, allocations: 11.89 kB / 400.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.00858, allocations: 0 / 400.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/0.008611, allocations: 0 / 400.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.008636, allocations: 11.98 kB / 400.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.008639, allocations: 0 / 400.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.008687, allocations: 131.9 kB / 400.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008688, allocations: 0 / 400.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.008868, allocations: 28 kB / 400.9 MB, free: 8.719 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 0.0001031/0.008971, allocations: 99.22 kB / 401 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.00924, allocations: 221.4 kB / 401.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009242, allocations: 0 / 401.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.009345, allocations: 197.7 kB / 401.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.009575, allocations: 16.08 kB / 401.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.01021, allocations: 269.3 kB / 401.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.01026, allocations: 67.34 kB / 401.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.361e-05/0.01028, allocations: 4 kB / 401.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.0103, allocations: 12.44 kB / 401.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0103, allocations: 4 kB / 401.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of Templates: time 0.0033/0.0136, allocations: 1.064 MB / 402.8 MB, free: 6.703 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: 3.143084887880832]