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.001811/0.001811, allocations: 93.47 kB / 19.44 MB, free: 336 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 1.62/1.62, allocations: 177.1 MB / 199.7 MB, free: 5.781 MB / 186.7 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.002137/0.002137, allocations: 163.5 kB / 256.3 MB, free: 13.17 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.04058/0.04058, allocations: 6.652 MB / 319.4 MB, free: 26.58 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.623e-06/1.623e-06, allocations: 0 / 390.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.307e-05, allocations: 6.109 kB / 390.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003262/0.003295, allocations: 1.762 MB / 392.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.003607, allocations: 91.67 kB / 392.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.003665, allocations: 0 / 392.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.003726, allocations: 15.86 kB / 392.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003827, allocations: 35.64 kB / 392.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.003987, allocations: 31.91 kB / 392.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.004154, allocations: 119.3 kB / 392.9 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.004301, allocations: 35.91 kB / 393 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.004414, allocations: 59.89 kB / 393 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004522, allocations: 35.89 kB / 393.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.004549, allocations: 8 kB / 393.1 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.004577, allocations: 12 kB / 393.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.004605, allocations: 15.98 kB / 393.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.004673, allocations: 43.91 kB / 393.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.004867, allocations: 111.6 kB / 393.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004871, allocations: 4 kB / 393.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004872, allocations: 0 / 393.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004877, allocations: 0 / 393.3 MB, free: 0.6211 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.0006518/0.005529, allocations: 420 kB / 393.7 MB, free: 176 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.005572, allocations: 12.03 kB / 393.7 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.005632, allocations: 16.89 kB / 393.7 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005793, allocations: 124.4 kB / 393.8 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.005813, allocations: 8.375 kB / 393.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.00585, allocations: 16.36 kB / 393.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.006056, allocations: 91.11 kB / 393.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.006068, allocations: 4.188 kB / 393.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.006084, allocations: 8.312 kB / 393.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006092, allocations: 4.375 kB / 394 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.006261, allocations: 63.83 kB / 394 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007937/0.007054, allocations: 427.3 kB / 394.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.00733, allocations: 87.05 kB / 394.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.007406, allocations: 39.67 kB / 394.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007421, allocations: 3.938 kB / 394.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.007453, allocations: 37.39 kB / 394.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.007454, allocations: 0 / 394.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005524/0.008007, allocations: 153.4 kB / 394.7 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.008056, allocations: 55.34 kB / 394.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.008228, allocations: 177.9 kB / 395 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.008248, allocations: 25.7 kB / 395 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.008362, allocations: 154.7 kB / 395.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.0084, allocations: 31.75 kB / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.008454, allocations: 31.36 kB / 395.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003725/0.008826, allocations: 0.4884 MB / 395.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.008873, allocations: 19.98 kB / 395.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.008938, allocations: 39.38 kB / 395.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.009047, allocations: 71.3 kB / 395.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009049, allocations: 0 / 395.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.0093, allocations: 117.2 kB / 395.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.009318, allocations: 12.03 kB / 396 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.009323, allocations: 0 / 396 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.009518, allocations: 27.67 kB / 396 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.009598, allocations: 23.92 kB / 396 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.01125, allocations: 1.815 MB / 397.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.01129, allocations: 7.891 kB / 397.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.0113, allocations: 8.031 kB / 397.8 MB, free: 11.69 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.0001353/0.01143, allocations: 168.5 kB / 398 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.01146, allocations: 4 kB / 398 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.0115, allocations: 12.44 kB / 398 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.0115, allocations: 0 / 398 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.0115, allocations: 0 / 398 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0115, allocations: 0 / 398 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.01173, allocations: 168.4 kB / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01173, allocations: 0 / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.01182, allocations: 19.98 kB / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.01193, allocations: 27.67 kB / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01194, allocations: 4 kB / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.01346, allocations: 1.822 MB / 400.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01346, allocations: 0 / 400.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.01382, allocations: 283.5 kB / 400.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.01384, allocations: 7.938 kB / 400.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.01385, allocations: 8 kB / 400.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.01391, allocations: 0 / 400.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01395, allocations: 7.984 kB / 400.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.01395, allocations: 0 / 400.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.941e-05/0.01405, allocations: 135.8 kB / 400.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01405, allocations: 0 / 400.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01431, allocations: 31.94 kB / 400.5 MB, free: 8.809 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.0001291/0.01443, allocations: 99.27 kB / 400.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.01482, allocations: 233.5 kB / 400.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01482, allocations: 0 / 400.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.01504, allocations: 213.7 kB / 401 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01531, allocations: 12.08 kB / 401.1 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.01593, allocations: 272.8 kB / 401.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.01603, allocations: 87.17 kB / 401.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.01606, allocations: 4 kB / 401.4 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.01608, allocations: 12.5 kB / 401.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01608, allocations: 0 / 401.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of Templates: time 0.004646/0.02073, allocations: 1.064 MB / 402.5 MB, free: 6.75 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: 4.835821375017986]