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.00111/0.00111, allocations: 99.55 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.385/1.385, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001152/0.001153, allocations: 173 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03278/0.03278, allocations: 8.8 MB / 350.1 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 9.719 kB / 413.1 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 52.56 MB / 465.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002041/0.1216, allocations: 1.356 MB / 467 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.1219, allocations: 103.7 kB / 467.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.122, allocations: 8 kB / 467.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.122, allocations: 7.922 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.1221, allocations: 31.92 kB / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.1223, allocations: 15.98 kB / 467.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1224, allocations: 83.81 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1226, allocations: 35.95 kB / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1226, allocations: 35.91 kB / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1227, allocations: 35.86 kB / 467.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1228, allocations: 4 kB / 467.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.1228, allocations: 12 kB / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1228, allocations: 11.92 kB / 467.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.1229, allocations: 45.64 kB / 467.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.123, allocations: 84.03 kB / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.123, allocations: 0 / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.231e-06/0.123, allocations: 0 / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.123, allocations: 7.875 kB / 467.5 MB, free: 11.64 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.0005394/0.1236, allocations: 383 kB / 467.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1236, allocations: 12.03 kB / 467.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1237, allocations: 11.86 kB / 467.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1238, allocations: 174.9 kB / 468.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1239, allocations: 8 kB / 468.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1239, allocations: 12 kB / 468.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1241, allocations: 88.5 kB / 468.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1241, allocations: 0 / 468.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1242, allocations: 4 kB / 468.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1242, allocations: 4 kB / 468.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1243, allocations: 63.78 kB / 468.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.1251, allocations: 0.4974 MB / 468.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1254, allocations: 86.55 kB / 468.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1254, allocations: 4 kB / 468.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1255, allocations: 30.56 kB / 468.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.1255, allocations: 0 / 468.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.126, allocations: 223.4 kB / 469.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1261, allocations: 63.36 kB / 469.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1262, allocations: 114 kB / 469.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1262, allocations: 25.7 kB / 469.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1263, allocations: 107.9 kB / 469.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1263, allocations: 31.78 kB / 469.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.1264, allocations: 0 / 469.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1265, allocations: 318.8 kB / 469.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.1265, allocations: 15.98 kB / 469.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.1266, allocations: 38.03 kB / 469.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.1267, allocations: 28.12 kB / 469.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1267, allocations: 0 / 469.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/0.1269, allocations: 110.4 kB / 469.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1269, allocations: 7.984 kB / 469.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1269, allocations: 3.953 kB / 469.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.1271, allocations: 36.8 kB / 470 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.1272, allocations: 12 kB / 470 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.1283, allocations: 1.324 MB / 471.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.1284, allocations: 19.81 kB / 471.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1284, allocations: 0 / 471.3 MB, free: 7.414 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.1285, allocations: 114.4 kB / 471.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1285, allocations: 7.906 kB / 471.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.1285, allocations: 24.31 kB / 471.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1285, allocations: 0 / 471.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1286, allocations: 0 / 471.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1286, allocations: 4.062 kB / 471.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1288, allocations: 189.6 kB / 471.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1288, allocations: 4 kB / 471.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.1289, allocations: 11.98 kB / 471.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.439e-05/0.129, allocations: 28.78 kB / 471.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.129, allocations: 4 kB / 471.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008476/0.1298, allocations: 1.328 MB / 473 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1298, allocations: 0 / 473 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1301, allocations: 228.3 kB / 473.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.1301, allocations: 84.97 kB / 473.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1302, allocations: 12.02 kB / 473.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.1302, allocations: 3.938 kB / 473.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.1303, allocations: 4 kB / 473.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1303, allocations: 3.938 kB / 473.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.1303, allocations: 95.3 kB / 473.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 0 / 473.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1306, allocations: 28 kB / 473.5 MB, free: 5.023 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.1307, allocations: 103.3 kB / 473.6 MB, free: 4.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.131, allocations: 170.6 kB / 473.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.131, allocations: 0 / 473.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1311, allocations: 146.6 kB / 473.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1313, allocations: 16.05 kB / 473.9 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.1319, allocations: 346.8 kB / 474.2 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1322, allocations: 0.7083 MB / 475 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1322, allocations: 8.656 kB / 475 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.1322, allocations: 11.44 kB / 475 MB, free: 3.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 475 MB, free: 3.438 MB / 302.1 MB Notification: Performance of Templates: time 0.003369/0.1356, allocations: 1.037 MB / 476 MB, free: 2.422 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: