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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 116.1 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 187.3 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03508/0.03508, allocations: 8.787 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 412.5 MB, free: 41.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08879, allocations: 51.57 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002806/0.09164, allocations: 1.721 MB / 465.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.09191, allocations: 99.66 kB / 465.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.09197, allocations: 0 / 465.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.09203, allocations: 15.86 kB / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.09211, allocations: 35.64 kB / 466 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.09225, allocations: 27.97 kB / 466 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.09238, allocations: 111.4 kB / 466.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.09255, allocations: 47.95 kB / 466.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.0926, allocations: 39.86 kB / 466.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.09269, allocations: 43.84 kB / 466.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.09272, allocations: 8 kB / 466.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.09275, allocations: 12 kB / 466.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.09278, allocations: 19.92 kB / 466.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.09284, allocations: 55.73 kB / 466.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.09299, allocations: 107.7 kB / 466.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.093, allocations: 4 kB / 466.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.093, allocations: 0 / 466.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.09302, allocations: 0 / 466.4 MB, free: 11.18 MB / 302.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.0004686/0.09349, allocations: 399.2 kB / 466.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.09353, allocations: 8.031 kB / 466.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.09357, allocations: 8.844 kB / 466.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.0937, allocations: 180.2 kB / 467 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.09372, allocations: 8.375 kB / 467 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.09375, allocations: 20.38 kB / 467 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.09394, allocations: 91.03 kB / 467.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.09396, allocations: 192 / 467.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.09398, allocations: 7.938 kB / 467.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.09399, allocations: 7.938 kB / 467.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.09413, allocations: 62.81 kB / 467.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.09479, allocations: 0.4935 MB / 467.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.09502, allocations: 90.53 kB / 467.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.0951, allocations: 36.84 kB / 467.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.09512, allocations: 4 kB / 467.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.09515, allocations: 30.56 kB / 467.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 3.377e-06/0.09516, allocations: 0 / 467.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005023/0.09566, allocations: 223.5 kB / 468.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.09571, allocations: 51.41 kB / 468.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.09581, allocations: 117.8 kB / 468.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.09584, allocations: 25.7 kB / 468.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.09591, allocations: 111.8 kB / 468.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.09593, allocations: 27.56 kB / 468.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.09598, allocations: 25.7 kB / 468.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.09611, allocations: 318.8 kB / 468.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.09615, allocations: 15.98 kB / 468.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.0962, allocations: 33.7 kB / 468.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.09629, allocations: 58.22 kB / 468.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.0963, allocations: 0 / 468.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.09651, allocations: 126.2 kB / 469 MB, free: 8.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.09654, allocations: 4 kB / 469 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.09654, allocations: 0 / 469 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.09671, allocations: 32.83 kB / 469 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.09679, allocations: 15.98 kB / 469 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.09787, allocations: 1.414 MB / 470.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.09792, allocations: 7.891 kB / 470.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.09794, allocations: 4.031 kB / 470.4 MB, free: 6.734 MB / 302.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 9.571e-05/0.09804, allocations: 134.4 kB / 470.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.09807, allocations: 7.938 kB / 470.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.0981, allocations: 8.375 kB / 470.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.0981, allocations: 4 kB / 470.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.09811, allocations: 0 / 470.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.09812, allocations: 0 / 470.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.09833, allocations: 205.5 kB / 470.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.09834, allocations: 7.938 kB / 470.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.09843, allocations: 12 kB / 470.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-05/0.09853, allocations: 32.78 kB / 470.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.09855, allocations: 144 / 470.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.09955, allocations: 1.418 MB / 472.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.09956, allocations: 4.031 kB / 472.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.09984, allocations: 224.2 kB / 472.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.0999, allocations: 81.14 kB / 472.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.09992, allocations: 0 / 472.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.09999, allocations: 12.06 kB / 472.6 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.1, allocations: 11.97 kB / 472.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1, allocations: 0 / 472.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.1001, allocations: 95.27 kB / 472.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1001, allocations: 0 / 472.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1004, allocations: 36.22 kB / 472.7 MB, free: 4.219 MB / 302.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 9.636e-05/0.1005, allocations: 92.19 kB / 472.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1007, allocations: 174.6 kB / 473 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1007, allocations: 0 / 473 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1009, allocations: 151 kB / 473.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1012, allocations: 16.14 kB / 473.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.1017, allocations: 282.2 kB / 473.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.102, allocations: 0.7002 MB / 474.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.102, allocations: 4.672 kB / 474.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.1021, allocations: 11.44 kB / 474.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1021, allocations: 0 / 474.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of Templates: time 0.0034/0.1055, allocations: 1.122 MB / 475.3 MB, free: 1.609 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)