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.001371/0.00137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.413/1.413, allocations: 222.9 MB / 239 MB, free: 4.707 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.001274/0.001274, allocations: 188.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03252/0.03252, allocations: 8.797 MB / 348.2 MB, free: 4.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 77.48 kB / 410.6 MB, free: 42.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 51.57 MB / 462.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002788/0.1187, allocations: 1.774 MB / 463.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.119, allocations: 95.67 kB / 464 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1191, allocations: 0 / 464 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.539e-05/0.1191, allocations: 11.92 kB / 464 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.1192, allocations: 27.77 kB / 464.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1194, allocations: 23.98 kB / 464.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1195, allocations: 119.4 kB / 464.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1197, allocations: 39.97 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1197, allocations: 47.86 kB / 464.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.1198, allocations: 47.78 kB / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1199, allocations: 8 kB / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.1199, allocations: 8 kB / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.1199, allocations: 27.91 kB / 464.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.12, allocations: 47.8 kB / 464.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1201, allocations: 107.9 kB / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1201, allocations: 0 / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1201, allocations: 0 / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1202, allocations: 4 kB / 464.5 MB, free: 12.35 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.0004497/0.1206, allocations: 395.2 kB / 464.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1207, allocations: 8.031 kB / 464.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1207, allocations: 12.84 kB / 464.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1208, allocations: 176.2 kB / 465.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1208, allocations: 12.31 kB / 465.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1209, allocations: 4.375 kB / 465.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1211, allocations: 94.83 kB / 465.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1211, allocations: 4.172 kB / 465.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1211, allocations: 7.938 kB / 465.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1211, allocations: 8 kB / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1212, allocations: 59.83 kB / 465.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.1219, allocations: 0.4936 MB / 465.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1221, allocations: 94.47 kB / 465.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.1222, allocations: 44.78 kB / 465.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1222, allocations: 0 / 465.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.1222, allocations: 30.56 kB / 465.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.1222, allocations: 0 / 465.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.1227, allocations: 219.5 kB / 466.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1227, allocations: 55.41 kB / 466.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.1228, allocations: 113.8 kB / 466.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1228, allocations: 29.64 kB / 466.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.1229, allocations: 107.9 kB / 466.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1229, allocations: 39.69 kB / 466.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.123, allocations: 21.72 kB / 466.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1231, allocations: 322.8 kB / 466.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.1231, allocations: 16 kB / 466.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.1231, allocations: 33.7 kB / 466.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.1232, allocations: 57.66 kB / 466.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1232, allocations: 0 / 466.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001976/0.1234, allocations: 122.8 kB / 467.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1235, allocations: 11.98 kB / 467.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1235, allocations: 0 / 467.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.1236, allocations: 24.84 kB / 467.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.1237, allocations: 16 kB / 467.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1248, allocations: 1.418 MB / 468.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1248, allocations: 7.938 kB / 468.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1248, allocations: 4 kB / 468.5 MB, free: 7.902 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 9.677e-05/0.1249, allocations: 126.5 kB / 468.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.125, allocations: 7.938 kB / 468.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.125, allocations: 12.36 kB / 468.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.125, allocations: 0 / 468.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.125, allocations: 4 kB / 468.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.125, allocations: 0 / 468.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1252, allocations: 197.5 kB / 468.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1252, allocations: 0 / 468.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.1253, allocations: 23.98 kB / 468.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.276e-05/0.1254, allocations: 32.72 kB / 468.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1255, allocations: 4 kB / 468.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.1264, allocations: 1.411 MB / 470.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1264, allocations: 3.938 kB / 470.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1267, allocations: 232.3 kB / 470.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1268, allocations: 81.14 kB / 470.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1268, allocations: 0 / 470.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1268, allocations: 3.938 kB / 470.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.1269, allocations: 15.92 kB / 470.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1269, allocations: 0 / 470.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.1269, allocations: 95.22 kB / 470.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1269, allocations: 0 / 470.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1272, allocations: 35.84 kB / 470.8 MB, free: 5.395 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.000109/0.1273, allocations: 99.3 kB / 470.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.1277, allocations: 171 kB / 471.1 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1277, allocations: 192 / 471.1 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.1278, allocations: 146.7 kB / 471.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1282, allocations: 22.25 kB / 471.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.1288, allocations: 326 kB / 471.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1291, allocations: 0.6924 MB / 472.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.1292, allocations: 12.66 kB / 472.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1292, allocations: 11.44 kB / 472.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1292, allocations: 0 / 472.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of Templates: time 0.003772/0.133, allocations: 1.128 MB / 473.4 MB, free: 2.734 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 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)