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.0008207/0.0008208, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.428/1.428, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.0009822/0.000982, allocations: 179.3 kB / 290.6 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03212/0.03212, allocations: 8.789 MB / 350.5 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 9.406 kB / 413.8 MB, free: 42.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 52.55 MB / 466.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002676/0.1073, allocations: 2.117 MB / 468.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.1082, allocations: 0.5611 MB / 469 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1083, allocations: 4 kB / 469 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1085, allocations: 23.78 kB / 469.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1086, allocations: 63.52 kB / 469.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1088, allocations: 47.91 kB / 469.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.109, allocations: 238.8 kB / 469.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1092, allocations: 64.92 kB / 469.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1093, allocations: 79.66 kB / 469.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1095, allocations: 91.56 kB / 469.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.1095, allocations: 12 kB / 469.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.101e-05/0.1096, allocations: 8 kB / 469.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.1096, allocations: 39.83 kB / 469.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1097, allocations: 125.1 kB / 469.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1099, allocations: 207.2 kB / 470 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.11, allocations: 4 kB / 470 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.11, allocations: 0 / 470 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.11, allocations: 0 / 470 MB, free: 9.41 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.0006884/0.1107, allocations: 478.7 kB / 470.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1107, allocations: 12.03 kB / 470.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.1108, allocations: 24.66 kB / 470.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.111, allocations: 233.5 kB / 470.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1111, allocations: 16.33 kB / 470.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1111, allocations: 24.31 kB / 470.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.1114, allocations: 195.5 kB / 471 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1115, allocations: 4 kB / 471 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1115, allocations: 4 kB / 471 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1115, allocations: 4 kB / 471 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1117, allocations: 123.9 kB / 471.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1128, allocations: 0.7558 MB / 471.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1131, allocations: 134.7 kB / 472 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1132, allocations: 52.84 kB / 472.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1133, allocations: 0 / 472.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1135, allocations: 99.38 kB / 472.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1135, allocations: 0 / 472.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006595/0.1141, allocations: 293.5 kB / 472.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1142, allocations: 59.41 kB / 472.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1144, allocations: 187.1 kB / 472.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1144, allocations: 25.7 kB / 472.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.1145, allocations: 140.2 kB / 472.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.1145, allocations: 51.2 kB / 472.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1146, allocations: 21.72 kB / 472.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1147, allocations: 326.8 kB / 473.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.1148, allocations: 35.98 kB / 473.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1149, allocations: 80.17 kB / 473.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.115, allocations: 112.2 kB / 473.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1151, allocations: 0 / 473.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003113/0.1154, allocations: 180.2 kB / 473.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1154, allocations: 8 kB / 473.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1154, allocations: 0 / 473.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.1156, allocations: 32.84 kB / 473.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1157, allocations: 27.92 kB / 473.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1169, allocations: 1.378 MB / 475.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.117, allocations: 23.88 kB / 475.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.117, allocations: 8.062 kB / 475.1 MB, free: 3.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,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.0001083/0.1171, allocations: 137.7 kB / 475.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1172, allocations: 15.81 kB / 475.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.1172, allocations: 17.53 kB / 475.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1172, allocations: 7.938 kB / 475.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1172, allocations: 0 / 475.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1172, allocations: 0 / 475.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1174, allocations: 253.5 kB / 475.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1175, allocations: 11.94 kB / 475.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.1176, allocations: 19.92 kB / 475.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.1177, allocations: 32.84 kB / 475.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1177, allocations: 4 kB / 475.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.1187, allocations: 1.366 MB / 477 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1187, allocations: 0 / 477 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1191, allocations: 229.7 kB / 477.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.1192, allocations: 105 kB / 477.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1192, allocations: 4.125 kB / 477.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1193, allocations: 19.97 kB / 477.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1194, allocations: 15.98 kB / 477.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1194, allocations: 7.984 kB / 477.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1195, allocations: 133.2 kB / 477.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 3.938 kB / 477.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1198, allocations: 55.84 kB / 477.5 MB, free: 1.234 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 (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 9.284e-05/0.1199, allocations: 103.2 kB / 477.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1203, allocations: 233.3 kB / 477.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1203, allocations: 0 / 477.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1205, allocations: 170.5 kB / 478 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1207, allocations: 40.22 kB / 478.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.1215, allocations: 0.5407 MB / 478.6 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1218, allocations: 0.7359 MB / 479.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.1219, allocations: 13.55 kB / 479.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1219, allocations: 15.44 kB / 479.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1219, allocations: 0 / 479.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of Templates: time 0.004845/0.1268, allocations: 2.062 MB / 481.4 MB, free: 13.27 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: