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.0008886/0.0008886, allocations: 100 kB / 15.05 MB, free: 1.105 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.422/1.422, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001215/0.001215, allocations: 177 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03271/0.03271, allocations: 8.794 MB / 350.1 MB, free: 4.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 9.906 kB / 413.1 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 52.55 MB / 465.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002782/0.1122, allocations: 1.944 MB / 467.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1135, allocations: 0.5614 MB / 468.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1137, allocations: 4 kB / 468.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.025e-05/0.1138, allocations: 27.77 kB / 468.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1141, allocations: 75.81 kB / 468.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1143, allocations: 39.91 kB / 468.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1146, allocations: 175.6 kB / 468.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1148, allocations: 68.83 kB / 468.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1149, allocations: 71.72 kB / 468.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.115, allocations: 95.55 kB / 468.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1151, allocations: 8 kB / 468.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.1151, allocations: 12 kB / 468.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.1151, allocations: 27.91 kB / 468.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1152, allocations: 65.58 kB / 468.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1154, allocations: 163.5 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1154, allocations: 0 / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1154, allocations: 4 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1155, allocations: 0 / 469 MB, free: 10.23 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008096/0.1163, allocations: 486.5 kB / 469.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1163, allocations: 8.031 kB / 469.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.1164, allocations: 27.67 kB / 469.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1167, allocations: 228.2 kB / 469.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1167, allocations: 15.95 kB / 469.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1168, allocations: 20 kB / 469.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1171, allocations: 179.2 kB / 469.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1172, allocations: 0 / 469.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1172, allocations: 16 kB / 469.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1172, allocations: 4 kB / 469.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1174, allocations: 119.8 kB / 470 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.1186, allocations: 0.7519 MB / 470.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1189, allocations: 138.6 kB / 470.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1189, allocations: 7.938 kB / 470.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.1191, allocations: 91.31 kB / 471 MB, free: 7.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.1191, allocations: 0 / 471 MB, free: 7.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006221/0.1197, allocations: 293.4 kB / 471.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1198, allocations: 55.34 kB / 471.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1199, allocations: 183.1 kB / 471.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.12, allocations: 29.7 kB / 471.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.1201, allocations: 136.2 kB / 471.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1201, allocations: 51.27 kB / 471.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.1201, allocations: 4 kB / 471.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1202, allocations: 330.8 kB / 472.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/0.1203, allocations: 31.98 kB / 472.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.1204, allocations: 68.28 kB / 472.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.1205, allocations: 43.92 kB / 472.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1205, allocations: 8 kB / 472.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002862/0.1208, allocations: 178.2 kB / 472.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1208, allocations: 6.188 kB / 472.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1208, allocations: 4 kB / 472.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.121, allocations: 28.78 kB / 472.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1211, allocations: 31.98 kB / 472.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.1222, allocations: 1.379 MB / 473.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1223, allocations: 19.91 kB / 473.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1224, allocations: 11.98 kB / 473.9 MB, free: 4.883 MB / 302.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,switch.control,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1225, allocations: 136.8 kB / 474 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1225, allocations: 19.77 kB / 474 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1226, allocations: 21.53 kB / 474.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1226, allocations: 0 / 474.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1226, allocations: 0 / 474.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1226, allocations: 3.984 kB / 474.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1228, allocations: 261.5 kB / 474.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1228, allocations: 0 / 474.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.1229, allocations: 19.98 kB / 474.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.1231, allocations: 36.78 kB / 474.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1231, allocations: 4 kB / 474.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.1241, allocations: 1.363 MB / 475.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1241, allocations: 0 / 475.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.1245, allocations: 236 kB / 476 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.1246, allocations: 113 kB / 476.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1246, allocations: 0 / 476.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1247, allocations: 19.98 kB / 476.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1248, allocations: 11.98 kB / 476.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1248, allocations: 4 kB / 476.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1249, allocations: 141.1 kB / 476.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1249, allocations: 0 / 476.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1252, allocations: 59.84 kB / 476.3 MB, free: 2.23 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.729e-05/0.1253, allocations: 99.17 kB / 476.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.1257, allocations: 214.6 kB / 476.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1257, allocations: 3.938 kB / 476.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1259, allocations: 189.4 kB / 476.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1262, allocations: 36.12 kB / 476.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/0.1269, allocations: 0.5302 MB / 477.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1272, allocations: 0.7361 MB / 478.1 MB, free: 356 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.1273, allocations: 13.55 kB / 478.1 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.1273, allocations: 15.44 kB / 478.1 MB, free: 324 kB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1273, allocations: 0 / 478.1 MB, free: 324 kB / 302.1 MB Notification: Performance of Templates: time 0.004981/0.1323, allocations: 1.99 MB / 480.1 MB, free: 14.35 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: