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.008131/0.008131, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.456/1.456, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001328/0.001328, allocations: 192.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0343/0.0343, allocations: 8.798 MB / 348.6 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 75.88 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1453, allocations: 51.56 MB / 0.5034 GB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003744/0.1491, allocations: 1.729 MB / 0.5051 GB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.1496, allocations: 103.6 kB / 0.5052 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1498, allocations: 0 / 0.5052 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.606e-05/0.1498, allocations: 15.86 kB / 0.5052 GB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.15, allocations: 31.7 kB / 0.5052 GB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1502, allocations: 23.91 kB / 0.5052 GB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1504, allocations: 119.4 kB / 0.5053 GB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1506, allocations: 39.97 kB / 0.5054 GB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.1507, allocations: 43.86 kB / 0.5054 GB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1508, allocations: 43.84 kB / 0.5055 GB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.1509, allocations: 12 kB / 0.5055 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.1509, allocations: 8 kB / 0.5055 GB, free: 7.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.151, allocations: 27.91 kB / 0.5055 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.151, allocations: 47.8 kB / 0.5055 GB, free: 7.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1512, allocations: 115.6 kB / 0.5057 GB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1512, allocations: 0 / 0.5057 GB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1513, allocations: 0 / 0.5057 GB, free: 7.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1513, allocations: 0 / 0.5057 GB, free: 7.168 MB / 350.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.0006049/0.1519, allocations: 403.2 kB / 0.506 GB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1519, allocations: 8.031 kB / 0.506 GB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.152, allocations: 8.844 kB / 0.5061 GB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1522, allocations: 180.2 kB / 0.5062 GB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1522, allocations: 8.375 kB / 0.5062 GB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1522, allocations: 8.375 kB / 0.5062 GB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1525, allocations: 90.22 kB / 0.5063 GB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1525, allocations: 4.188 kB / 0.5063 GB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1525, allocations: 7.938 kB / 0.5063 GB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1525, allocations: 0 / 0.5063 GB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1527, allocations: 63.95 kB / 0.5064 GB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.1535, allocations: 0.4896 MB / 0.5069 GB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1538, allocations: 86.48 kB / 0.507 GB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.1539, allocations: 36.84 kB / 0.507 GB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1539, allocations: 0 / 0.507 GB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1539, allocations: 38.56 kB / 0.507 GB, free: 5.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.1539, allocations: 0 / 0.507 GB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007391/0.1547, allocations: 231.3 kB / 0.5073 GB, free: 5.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1547, allocations: 51.41 kB / 0.5073 GB, free: 5.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1549, allocations: 121.8 kB / 0.5074 GB, free: 5.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1549, allocations: 29.7 kB / 0.5075 GB, free: 5.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.155, allocations: 107.9 kB / 0.5076 GB, free: 4.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.155, allocations: 31.7 kB / 0.5076 GB, free: 4.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.1551, allocations: 21.7 kB / 0.5076 GB, free: 4.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1553, allocations: 318.8 kB / 0.5079 GB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.1553, allocations: 15.98 kB / 0.5079 GB, free: 4.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.1554, allocations: 41.64 kB / 0.508 GB, free: 4.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1555, allocations: 53.72 kB / 0.508 GB, free: 4.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1555, allocations: 0 / 0.508 GB, free: 4.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002245/0.1557, allocations: 114.3 kB / 0.5081 GB, free: 4.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1558, allocations: 4 kB / 0.5081 GB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1558, allocations: 0 / 0.5081 GB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.156, allocations: 33.53 kB / 0.5082 GB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.1561, allocations: 15.98 kB / 0.5082 GB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1573, allocations: 1.422 MB / 0.5096 GB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.1573, allocations: 0 / 0.5096 GB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1573, allocations: 4.031 kB / 0.5096 GB, free: 2.73 MB / 350.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 0.000108/0.1575, allocations: 129.7 kB / 0.5097 GB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1575, allocations: 15.84 kB / 0.5097 GB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.1575, allocations: 12.31 kB / 0.5097 GB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1575, allocations: 4 kB / 0.5097 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1575, allocations: 4.062 kB / 0.5097 GB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1576, allocations: 0 / 0.5097 GB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.1578, allocations: 201.5 kB / 0.5099 GB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1578, allocations: 0 / 0.5099 GB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.1579, allocations: 12 kB / 0.5099 GB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.158, allocations: 28.78 kB / 0.51 GB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.158, allocations: 4 kB / 0.51 GB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.1593, allocations: 1.418 MB / 0.5113 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1593, allocations: 0 / 0.5113 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1596, allocations: 232.3 kB / 0.5116 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1597, allocations: 85.05 kB / 0.5116 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1597, allocations: 3.938 kB / 0.5117 GB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.1597, allocations: 3.938 kB / 0.5117 GB, free: 360 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.1598, allocations: 11.98 kB / 0.5117 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1598, allocations: 0 / 0.5117 GB, free: 348 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.1599, allocations: 95.27 kB / 0.5118 GB, free: 252 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1599, allocations: 4.062 kB / 0.5118 GB, free: 248 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1602, allocations: 35.84 kB / 0.5118 GB, free: 212 kB / 350.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 0.0001211/0.1603, allocations: 91.25 kB / 0.5119 GB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.1607, allocations: 167 kB / 0.512 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1607, allocations: 0 / 0.512 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1608, allocations: 146.7 kB / 0.5122 GB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1612, allocations: 20.45 kB / 0.5122 GB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.1619, allocations: 293.9 kB / 0.5125 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1624, allocations: 0.6963 MB / 0.5132 GB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.1624, allocations: 4.672 kB / 0.5132 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.1624, allocations: 11.44 kB / 0.5132 GB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1624, allocations: 4 kB / 0.5132 GB, free: 14.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005405/0.1679, allocations: 1.133 MB / 0.5143 GB, free: 13.58 MB / 366.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 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)