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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.001266/0.001266, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.422/1.422, allocations: 223.2 MB / 239 MB, free: 5.449 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.001092/0.001092, allocations: 184.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03403/0.03403, allocations: 8.779 MB / 350.1 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 10.62 kB / 413.3 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07802, allocations: 52.56 MB / 465.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.00174/0.0798, allocations: 1.397 MB / 467.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.08005, allocations: 103.6 kB / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.08011, allocations: 0 / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.08016, allocations: 11.92 kB / 467.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.08023, allocations: 31.75 kB / 467.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.08035, allocations: 11.98 kB / 467.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.0805, allocations: 111.4 kB / 467.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.08063, allocations: 39.94 kB / 467.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.08068, allocations: 35.86 kB / 467.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.08076, allocations: 31.86 kB / 467.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.08078, allocations: 8 kB / 467.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.08081, allocations: 4 kB / 467.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.08083, allocations: 15.98 kB / 467.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.08087, allocations: 41.64 kB / 467.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.997e-05/0.08096, allocations: 88.03 kB / 467.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.08097, allocations: 0 / 467.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.08098, allocations: 0 / 467.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.08099, allocations: 7.938 kB / 467.8 MB, free: 11.45 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.0003958/0.08139, allocations: 379 kB / 468.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.08143, allocations: 12.03 kB / 468.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.08148, allocations: 42.48 kB / 468.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.08152, allocations: 19.8 kB / 468.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.08164, allocations: 171 kB / 468.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.08166, allocations: 8 kB / 468.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.08169, allocations: 12 kB / 468.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.08188, allocations: 92.5 kB / 468.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.0819, allocations: 7.844 kB / 468.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.08192, allocations: 4 kB / 468.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.08193, allocations: 7.953 kB / 468.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.08205, allocations: 59.83 kB / 468.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.0827, allocations: 0.4937 MB / 469 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.08292, allocations: 78.55 kB / 469.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.083, allocations: 40.84 kB / 469.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.08302, allocations: 0 / 469.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.08305, allocations: 34.5 kB / 469.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.08305, allocations: 4 kB / 469.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.08357, allocations: 223.6 kB / 469.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.08361, allocations: 59.34 kB / 469.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.08371, allocations: 110 kB / 469.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.08373, allocations: 37.69 kB / 469.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.08379, allocations: 103.9 kB / 469.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.08382, allocations: 23.64 kB / 469.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.08383, allocations: 4 kB / 469.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.08393, allocations: 318.8 kB / 470.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.445e-05/0.08397, allocations: 16 kB / 470.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.08401, allocations: 33.7 kB / 470.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.08406, allocations: 24.5 kB / 470.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.08407, allocations: 4 kB / 470.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.08427, allocations: 114.3 kB / 470.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0843, allocations: 9.828 kB / 470.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.08431, allocations: 0 / 470.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.08447, allocations: 28.84 kB / 470.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.08455, allocations: 23.91 kB / 470.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009123/0.08547, allocations: 1.316 MB / 471.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.08554, allocations: 11.88 kB / 471.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.08555, allocations: 4.062 kB / 471.6 MB, free: 7.141 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.669e-05/0.08564, allocations: 123 kB / 471.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.08568, allocations: 15.84 kB / 471.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.08571, allocations: 8.375 kB / 471.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.08572, allocations: 0 / 471.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.08573, allocations: 4 kB / 471.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.08573, allocations: 3.938 kB / 471.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.08593, allocations: 197.6 kB / 472 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.08594, allocations: 0 / 472 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.08602, allocations: 16 kB / 472 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.88e-05/0.08612, allocations: 24.84 kB / 472 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.08614, allocations: 3.953 kB / 472 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008561/0.087, allocations: 1.32 MB / 473.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08701, allocations: 0 / 473.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.08727, allocations: 228.2 kB / 473.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.08732, allocations: 92.97 kB / 473.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.08734, allocations: 4 kB / 473.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.08741, allocations: 4.125 kB / 473.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.08744, allocations: 4 kB / 473.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.08745, allocations: 11.98 kB / 473.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.0875, allocations: 91.31 kB / 473.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0875, allocations: 0 / 473.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.08778, allocations: 28 kB / 473.8 MB, free: 4.746 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.0004872/0.08827, allocations: 0.7522 MB / 474.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.08853, allocations: 178.6 kB / 474.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.08855, allocations: 0 / 474.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.08868, allocations: 150.7 kB / 474.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.08897, allocations: 15.98 kB / 474.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.08994, allocations: 0.6958 MB / 475.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.09018, allocations: 0.6965 MB / 476.3 MB, free: 2.125 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.09022, allocations: 4.672 kB / 476.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.09026, allocations: 23.44 kB / 476.3 MB, free: 2.098 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09027, allocations: 4 kB / 476.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1031, allocations: 2.105 MB / 478.4 MB, free: 124 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.1034, allocations: 190 kB / 478.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.753, allocations: 0 / 478.6 MB, free: 15.88 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/linux/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) Environment - environmentSimulation: