Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 110.7 kB / 16.41 MB, free: 6.441 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.374/1.374, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001635/0.001635, allocations: 184.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03465/0.03465, allocations: 8.801 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 51.56 MB / 0.504 GB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003387/0.1123, allocations: 2.425 MB / 0.5064 GB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.1133, allocations: 0.5765 MB / 0.507 GB, free: 6.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1134, allocations: 4 kB / 0.507 GB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1136, allocations: 35.7 kB / 0.507 GB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1137, allocations: 71.34 kB / 0.5071 GB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.114, allocations: 51.88 kB / 0.5071 GB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1143, allocations: 250.8 kB / 0.5074 GB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1145, allocations: 80.27 kB / 0.5074 GB, free: 6.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.1146, allocations: 87.66 kB / 0.5075 GB, free: 5.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1147, allocations: 103.5 kB / 0.5076 GB, free: 5.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.1148, allocations: 20 kB / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.1148, allocations: 16 kB / 0.5077 GB, free: 5.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1149, allocations: 47.78 kB / 0.5077 GB, free: 5.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.115, allocations: 103.5 kB / 0.5078 GB, free: 5.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1152, allocations: 235.1 kB / 0.508 GB, free: 5.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1152, allocations: 0 / 0.508 GB, free: 5.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1153, allocations: 4 kB / 0.508 GB, free: 5.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1153, allocations: 4 kB / 0.508 GB, free: 5.395 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007679/0.116, allocations: 0.4908 MB / 0.5085 GB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1161, allocations: 8.031 kB / 0.5085 GB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.1161, allocations: 28.64 kB / 0.5085 GB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1165, allocations: 235.9 kB / 0.5088 GB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1165, allocations: 12.36 kB / 0.5088 GB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1165, allocations: 20.38 kB / 0.5088 GB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1168, allocations: 195.5 kB / 0.509 GB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1169, allocations: 0 / 0.509 GB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1169, allocations: 8 kB / 0.509 GB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1169, allocations: 4 kB / 0.509 GB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1171, allocations: 115.9 kB / 0.5091 GB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1182, allocations: 0.7479 MB / 0.5098 GB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1185, allocations: 130.7 kB / 0.51 GB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.1186, allocations: 52.84 kB / 0.51 GB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1186, allocations: 4 kB / 0.51 GB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.1188, allocations: 93.2 kB / 0.5101 GB, free: 3.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 4.338e-06/0.1188, allocations: 3.938 kB / 0.5101 GB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006346/0.1194, allocations: 297.2 kB / 0.5104 GB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1195, allocations: 55.41 kB / 0.5104 GB, free: 2.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1196, allocations: 183.1 kB / 0.5106 GB, free: 2.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1197, allocations: 33.64 kB / 0.5107 GB, free: 2.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.1198, allocations: 140.2 kB / 0.5108 GB, free: 2.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1198, allocations: 51.28 kB / 0.5108 GB, free: 2.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.1199, allocations: 41.61 kB / 0.5109 GB, free: 2.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.12, allocations: 330.8 kB / 0.5112 GB, free: 1.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.1201, allocations: 31.98 kB / 0.5112 GB, free: 1.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.1202, allocations: 74.81 kB / 0.5113 GB, free: 1.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1204, allocations: 116.2 kB / 0.5114 GB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1204, allocations: 0 / 0.5114 GB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002882/0.1207, allocations: 184.6 kB / 0.5116 GB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1207, allocations: 4 kB / 0.5116 GB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1207, allocations: 4 kB / 0.5116 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.1209, allocations: 40.81 kB / 0.5116 GB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.121, allocations: 32.05 kB / 0.5117 GB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.1223, allocations: 1.465 MB / 0.5131 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1224, allocations: 15.83 kB / 0.5131 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1224, allocations: 11.98 kB / 0.5131 GB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.1226, allocations: 137.7 kB / 0.5132 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1226, allocations: 19.75 kB / 0.5133 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.1227, allocations: 21.52 kB / 0.5133 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1227, allocations: 0 / 0.5133 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1227, allocations: 4.062 kB / 0.5133 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1227, allocations: 3.938 kB / 0.5133 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.123, allocations: 261.5 kB / 0.5135 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.123, allocations: 0 / 0.5135 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1231, allocations: 19.98 kB / 0.5136 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.1232, allocations: 32.78 kB / 0.5136 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1232, allocations: 4.141 kB / 0.5136 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.1244, allocations: 1.461 MB / 0.515 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1244, allocations: 0 / 0.515 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.1248, allocations: 233.7 kB / 0.5152 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.1249, allocations: 104.9 kB / 0.5153 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.125, allocations: 11.94 kB / 0.5154 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1251, allocations: 7.984 kB / 0.5154 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1252, allocations: 15.98 kB / 0.5154 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1252, allocations: 4 kB / 0.5154 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1253, allocations: 137.2 kB / 0.5155 GB, free: 13.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1253, allocations: 8 kB / 0.5155 GB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1256, allocations: 59.78 kB / 0.5156 GB, free: 12.96 MB / 366.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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.1257, allocations: 95.25 kB / 0.5157 GB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.1262, allocations: 228.2 kB / 0.5159 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1262, allocations: 0 / 0.5159 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.1264, allocations: 178.8 kB / 0.5161 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1268, allocations: 27.98 kB / 0.5161 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.1277, allocations: 463.6 kB / 0.5165 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1281, allocations: 0.7359 MB / 0.5172 GB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.1282, allocations: 15.44 kB / 0.5173 GB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1282, allocations: 0 / 0.5173 GB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.006177/0.1343, allocations: 3.018 MB / 0.5202 GB, free: 8.133 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)