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.001118/0.001118, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.468/1.468, allocations: 222.9 MB / 240 MB, free: 4.473 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.002267/0.002267, allocations: 192.5 kB / 290.3 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03763/0.03763, allocations: 8.792 MB / 349.3 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 78.77 kB / 412.5 MB, free: 41.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 51.56 MB / 464.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003048/0.1065, allocations: 1.723 MB / 465.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.1068, allocations: 95.67 kB / 465.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1069, allocations: 4 kB / 465.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.605e-05/0.1069, allocations: 15.8 kB / 465.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.107, allocations: 35.69 kB / 465.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1072, allocations: 23.98 kB / 466 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1073, allocations: 119.4 kB / 466.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1075, allocations: 47.95 kB / 466.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.1075, allocations: 43.86 kB / 466.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1076, allocations: 43.84 kB / 466.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1076, allocations: 8 kB / 466.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.1077, allocations: 8 kB / 466.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.1077, allocations: 19.92 kB / 466.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.1078, allocations: 47.81 kB / 466.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1079, allocations: 115.6 kB / 466.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1079, allocations: 0 / 466.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1079, allocations: 4 kB / 466.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1079, allocations: 0 / 466.4 MB, free: 11.12 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.00046/0.1084, allocations: 395.2 kB / 466.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1085, allocations: 12.03 kB / 466.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1085, allocations: 8.844 kB / 466.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1086, allocations: 176.2 kB / 467 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1087, allocations: 12.38 kB / 467 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1087, allocations: 12.36 kB / 467 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1089, allocations: 98.83 kB / 467.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1089, allocations: 192 / 467.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1089, allocations: 7.938 kB / 467.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1089, allocations: 0 / 467.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1091, allocations: 67.77 kB / 467.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.1097, allocations: 497.4 kB / 467.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.11, allocations: 86.55 kB / 467.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.11, allocations: 41 kB / 467.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1101, allocations: 3.984 kB / 467.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1101, allocations: 38.5 kB / 467.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.405e-06/0.1101, allocations: 0 / 467.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004721/0.1106, allocations: 223.5 kB / 468.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1106, allocations: 51.41 kB / 468.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1107, allocations: 117.7 kB / 468.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1107, allocations: 29.7 kB / 468.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1108, allocations: 103.9 kB / 468.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1108, allocations: 31.55 kB / 468.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1109, allocations: 21.72 kB / 468.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.111, allocations: 322.8 kB / 468.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.111, allocations: 20 kB / 468.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.1111, allocations: 33.7 kB / 468.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.1112, allocations: 53.66 kB / 468.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1112, allocations: 0 / 468.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.1114, allocations: 122.3 kB / 468.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1114, allocations: 7.984 kB / 469 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1114, allocations: 0.6562 kB / 469 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.1116, allocations: 24.84 kB / 469 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1117, allocations: 19.94 kB / 469 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1131, allocations: 1.414 MB / 470.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.1132, allocations: 7.906 kB / 470.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1132, allocations: 4 kB / 470.4 MB, free: 6.688 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.0001213/0.1133, allocations: 130.4 kB / 470.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1134, allocations: 11.88 kB / 470.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.1134, allocations: 16.36 kB / 470.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1135, allocations: 0 / 470.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1135, allocations: 0 / 470.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1135, allocations: 4 kB / 470.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1138, allocations: 205.5 kB / 470.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1138, allocations: 0 / 470.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1139, allocations: 15.98 kB / 470.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.1141, allocations: 32.78 kB / 470.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1141, allocations: 0 / 470.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.1153, allocations: 1.418 MB / 472.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1153, allocations: 0 / 472.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1155, allocations: 224.2 kB / 472.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.1156, allocations: 81.09 kB / 472.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1156, allocations: 11.97 kB / 472.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.1157, allocations: 8.062 kB / 472.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1157, allocations: 4 kB / 472.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1157, allocations: 3.984 kB / 472.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.482e-05/0.1158, allocations: 91.28 kB / 472.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1158, allocations: 0 / 472.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1161, allocations: 31.84 kB / 472.7 MB, free: 4.176 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.0001011/0.1162, allocations: 100.1 kB / 472.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1165, allocations: 175 kB / 473 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1165, allocations: 0 / 473 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1166, allocations: 154.6 kB / 473.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.117, allocations: 12.41 kB / 473.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.1176, allocations: 294 kB / 473.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1179, allocations: 0.6963 MB / 474.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.118, allocations: 8.656 kB / 474.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.118, allocations: 7.438 kB / 474.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.118, allocations: 4 kB / 474.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of Templates: time 0.003464/0.1215, allocations: 1.117 MB / 475.3 MB, free: 1.551 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)