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.001548/0.001548, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.271/2.271, allocations: 222.9 MB / 239.5 MB, free: 4.719 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.001433/0.001433, allocations: 192.5 kB / 289.8 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03694/0.03694, allocations: 8.8 MB / 348.7 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 74.23 kB / 411.1 MB, free: 42.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 51.56 MB / 462.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003055/0.1315, allocations: 1.774 MB / 464.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.1318, allocations: 91.69 kB / 464.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.1319, allocations: 4 kB / 464.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.1319, allocations: 7.922 kB / 464.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.1321, allocations: 35.69 kB / 464.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1322, allocations: 27.92 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1324, allocations: 111.4 kB / 464.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1325, allocations: 39.97 kB / 464.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.1326, allocations: 35.92 kB / 464.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.1327, allocations: 43.78 kB / 464.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1327, allocations: 8 kB / 464.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.759e-05/0.1327, allocations: 8 kB / 464.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.1328, allocations: 23.91 kB / 464.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.1329, allocations: 47.8 kB / 464.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.133, allocations: 84.08 kB / 464.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.133, allocations: 0 / 464.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.133, allocations: 0 / 464.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.133, allocations: 4 kB / 465 MB, free: 12.62 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.0005446/0.1336, allocations: 387.2 kB / 465.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1336, allocations: 12.03 kB / 465.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1337, allocations: 8.844 kB / 465.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1338, allocations: 188.1 kB / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1338, allocations: 4.375 kB / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.1339, allocations: 12.38 kB / 465.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1341, allocations: 96.64 kB / 465.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1341, allocations: 4.188 kB / 465.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1341, allocations: 7.938 kB / 465.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1341, allocations: 0 / 465.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1343, allocations: 67.77 kB / 465.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.135, allocations: 0.4897 MB / 466.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1353, allocations: 90.55 kB / 466.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.1354, allocations: 36.84 kB / 466.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1354, allocations: 0 / 466.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1354, allocations: 38.56 kB / 466.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1355, allocations: 0 / 466.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005827/0.136, allocations: 219.5 kB / 466.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1361, allocations: 51.41 kB / 466.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.1362, allocations: 118.1 kB / 466.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1362, allocations: 29.7 kB / 466.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1363, allocations: 99.89 kB / 466.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1363, allocations: 31.8 kB / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1364, allocations: 29.66 kB / 466.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1365, allocations: 318.8 kB / 467.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.1366, allocations: 19.94 kB / 467.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.1366, allocations: 33.72 kB / 467.3 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1367, allocations: 57.7 kB / 467.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1367, allocations: 3.984 kB / 467.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.137, allocations: 122.2 kB / 467.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.137, allocations: 4 kB / 467.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.137, allocations: 0 / 467.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.1372, allocations: 28.84 kB / 467.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1373, allocations: 12 kB / 467.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1384, allocations: 1.324 MB / 468.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.1384, allocations: 4.031 kB / 468.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1385, allocations: 4 kB / 468.9 MB, free: 8.293 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 0.0001005/0.1386, allocations: 126.5 kB / 469 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.1386, allocations: 11.84 kB / 469 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.1386, allocations: 12.31 kB / 469 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1386, allocations: 3.938 kB / 469 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1386, allocations: 0 / 469 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1387, allocations: 7.984 kB / 469 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1389, allocations: 193.9 kB / 469.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1389, allocations: 0 / 469.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.139, allocations: 15.98 kB / 469.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.1391, allocations: 32.78 kB / 469.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1391, allocations: 4 kB / 469.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1402, allocations: 1.327 MB / 470.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1402, allocations: 12.08 kB / 470.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.1406, allocations: 228.1 kB / 470.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1406, allocations: 81.14 kB / 470.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1406, allocations: 0 / 470.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.1407, allocations: 4 kB / 470.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1407, allocations: 7.984 kB / 470.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1407, allocations: 8.062 kB / 470.9 MB, free: 6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.1408, allocations: 91.27 kB / 471 MB, free: 5.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1408, allocations: 0 / 471 MB, free: 5.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1411, allocations: 35.84 kB / 471 MB, free: 5.875 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 0.0001034/0.1412, allocations: 92 kB / 471.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1415, allocations: 166.6 kB / 471.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1416, allocations: 8.062 kB / 471.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1417, allocations: 142.7 kB / 471.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1421, allocations: 22.17 kB / 471.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.1428, allocations: 358.4 kB / 471.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1431, allocations: 0.7004 MB / 472.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.1431, allocations: 11.44 kB / 472.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1431, allocations: 480 / 472.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Templates: time 0.003566/0.1467, allocations: 1.589 MB / 474.1 MB, free: 2.715 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 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)