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: "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 239.3 MB, free: 4.633 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.001338/0.001338, allocations: 187.8 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03485/0.03485, allocations: 8.799 MB / 348.5 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 78.12 kB / 411.2 MB, free: 41.94 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.09019, allocations: 51.56 MB / 462.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002796/0.09302, allocations: 1.717 MB / 464.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.0933, allocations: 95.69 kB / 464.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.09336, allocations: 0 / 464.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.09343, allocations: 23.78 kB / 464.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.09352, allocations: 31.7 kB / 464.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.09365, allocations: 19.98 kB / 464.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.09378, allocations: 111.4 kB / 464.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.09394, allocations: 51.95 kB / 464.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.094, allocations: 43.86 kB / 464.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.0941, allocations: 43.84 kB / 464.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.09412, allocations: 12 kB / 464.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.24e-05/0.09415, allocations: 8 kB / 464.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.09418, allocations: 19.92 kB / 464.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.09425, allocations: 51.8 kB / 465 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.09439, allocations: 107.9 kB / 465.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.0944, allocations: 0 / 465.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09441, allocations: 0 / 465.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.09442, allocations: 0 / 465.1 MB, free: 11.94 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.0004853/0.09491, allocations: 405.8 kB / 465.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.09495, allocations: 8.031 kB / 465.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.09501, allocations: 50.73 kB / 465.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.09504, allocations: 12.78 kB / 465.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.09515, allocations: 172.2 kB / 465.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.09517, allocations: 12.36 kB / 465.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.0952, allocations: 8.375 kB / 465.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.09537, allocations: 94.22 kB / 465.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.09539, allocations: 7.875 kB / 465.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.09541, allocations: 8 kB / 465.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.09542, allocations: 0 / 465.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.09554, allocations: 59.83 kB / 465.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.09621, allocations: 0.4936 MB / 466.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.09643, allocations: 86.55 kB / 466.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.0965, allocations: 40.84 kB / 466.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.09652, allocations: 160 / 466.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.09655, allocations: 34.5 kB / 466.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.09656, allocations: 0 / 466.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005086/0.09707, allocations: 219.5 kB / 466.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.09712, allocations: 59.34 kB / 466.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.09722, allocations: 125.7 kB / 466.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.09725, allocations: 25.7 kB / 467 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.09731, allocations: 107.9 kB / 467.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.09734, allocations: 27.56 kB / 467.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.09739, allocations: 25.7 kB / 467.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.09752, allocations: 318.8 kB / 467.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.09757, allocations: 15.98 kB / 467.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.09762, allocations: 29.72 kB / 467.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.09771, allocations: 61.64 kB / 467.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.09772, allocations: 3.938 kB / 467.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.09793, allocations: 114.4 kB / 467.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.09795, allocations: 8 kB / 467.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.09796, allocations: 0.6562 kB / 467.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.09813, allocations: 24.84 kB / 467.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.09821, allocations: 15.94 kB / 467.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.09927, allocations: 1.426 MB / 469.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.09933, allocations: 7.938 kB / 469.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.09934, allocations: 4.062 kB / 469.1 MB, free: 7.438 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 8.535e-05/0.09943, allocations: 131.5 kB / 469.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.09946, allocations: 11.88 kB / 469.3 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.0995, allocations: 20.36 kB / 469.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.0995, allocations: 0 / 469.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.09951, allocations: 0 / 469.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.09952, allocations: 0 / 469.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.09972, allocations: 197.5 kB / 469.5 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.09973, allocations: 7.984 kB / 469.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.09981, allocations: 15.94 kB / 469.5 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.04e-05/0.09991, allocations: 24.84 kB / 469.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.09994, allocations: 8 kB / 469.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009339/0.1009, allocations: 1.415 MB / 471 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1009, allocations: 0 / 471 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1012, allocations: 236.3 kB / 471.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1012, allocations: 77.11 kB / 471.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1013, allocations: 3.938 kB / 471.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.1013, allocations: 0 / 471.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.1014, allocations: 15.92 kB / 471.3 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1014, allocations: 4 kB / 471.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.1014, allocations: 87.28 kB / 471.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1014, allocations: 0 / 471.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1017, allocations: 35.91 kB / 471.4 MB, free: 4.926 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.0005805/0.1023, allocations: 0.7561 MB / 472.2 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1026, allocations: 174.7 kB / 472.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1026, allocations: 4 kB / 472.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1028, allocations: 151.1 kB / 472.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1031, allocations: 14.19 kB / 472.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1048, allocations: 1.562 MB / 474.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1051, allocations: 0.6963 MB / 474.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.1052, allocations: 4.672 kB / 474.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.1052, allocations: 27.42 kB / 474.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1052, allocations: 3.938 kB / 474.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.1267, allocations: 2.356 MB / 477.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.178/9.305, allocations: 5.906 kB / 477.2 MB, free: 15.08 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)