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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04028/0.04028, allocations: 8.71 MB / 16.78 MB, free: 3.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 240.9 MB, free: 13.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008886, allocations: 89.8 kB / 293.8 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.829e-05, allocations: 4 kB / 352.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 52.56 MB / 405.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4819, allocations: 76.91 MB / 482.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.4821, allocations: 65.81 kB / 482.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003294/0.4854, allocations: 1.621 MB / 483.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4854, allocations: 0 / 483.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4855, allocations: 4 kB / 483.9 MB, free: 8.691 MB / 346.7 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.0002751/0.4857, allocations: 369.6 kB / 484.2 MB, free: 8.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4858, allocations: 11.98 kB / 484.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.4858, allocations: 15.5 kB / 484.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.4859, allocations: 175.8 kB / 484.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4859, allocations: 0 / 484.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.486, allocations: 8 kB / 484.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000125/0.4861, allocations: 51.42 kB / 484.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4862, allocations: 79.45 kB / 484.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4863, allocations: 4 kB / 484.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4863, allocations: 0 / 484.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4863, allocations: 4 kB / 484.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.4868, allocations: 470 kB / 485 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.487, allocations: 77.81 kB / 485.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.4871, allocations: 35.73 kB / 485.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4871, allocations: 3.938 kB / 485.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.4871, allocations: 30.56 kB / 485.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4871, allocations: 1.031 kB / 485.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002587/0.4874, allocations: 106 kB / 485.3 MB, free: 7.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.4874, allocations: 51.41 kB / 485.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.4875, allocations: 99.77 kB / 485.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.4875, allocations: 25.7 kB / 485.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.4876, allocations: 103.7 kB / 485.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.4876, allocations: 35.36 kB / 485.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4876, allocations: 0 / 485.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.4876, allocations: 314.8 kB / 485.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.4877, allocations: 15.88 kB / 485.9 MB, free: 6.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.4877, allocations: 33.77 kB / 486 MB, free: 6.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.4878, allocations: 23.97 kB / 486 MB, free: 6.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4878, allocations: 0 / 486 MB, free: 6.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001556/0.4879, allocations: 101.6 kB / 486.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.488, allocations: 7.953 kB / 486.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.488, allocations: 0 / 486.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.4881, allocations: 32.69 kB / 486.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.4882, allocations: 20.64 kB / 486.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/0.4889, allocations: 1.261 MB / 487.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.4889, allocations: 7.969 kB / 487.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.489, allocations: 3.938 kB / 487.4 MB, free: 5.082 MB / 346.7 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 () * 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 5.082e-05/0.489, allocations: 108.9 kB / 487.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001511/0.4892, allocations: 90.08 kB / 487.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.4892, allocations: 7.906 kB / 487.6 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.4892, allocations: 13.28 kB / 487.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4892, allocations: 4 kB / 487.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.4893, allocations: 0 / 487.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4893, allocations: 0 / 487.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4894, allocations: 177.4 kB / 487.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.4894, allocations: 0 / 487.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.4895, allocations: 15.98 kB / 487.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.812e-05/0.4896, allocations: 29.31 kB / 487.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4896, allocations: 0 / 487.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/0.4902, allocations: 1.265 MB / 489.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4902, allocations: 0 / 489.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.4904, allocations: 218.6 kB / 489.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.4904, allocations: 81.14 kB / 489.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.4904, allocations: 0 / 489.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.4905, allocations: 0 / 489.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.4905, allocations: 7.984 kB / 489.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4905, allocations: 6.594 kB / 489.4 MB, free: 2.988 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.418e-05/0.4906, allocations: 82.41 kB / 489.5 MB, free: 2.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.4906, allocations: 4 kB / 489.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.4908, allocations: 31.84 kB / 489.5 MB, free: 2.875 MB / 346.7 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 () * 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.0003605/0.4912, allocations: 0.7581 MB / 490.3 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4914, allocations: 160.2 kB / 490.4 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4914, allocations: 0 / 490.4 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.4915, allocations: 132.7 kB / 490.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4917, allocations: 10.05 kB / 490.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.4922, allocations: 224.7 kB / 490.8 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4924, allocations: 0.7019 MB / 491.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.327e-05/0.4924, allocations: 0 / 491.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.4924, allocations: 26.23 kB / 491.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4924, allocations: 0 / 491.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5135, allocations: 1.575 MB / 493.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.5138, allocations: 115.4 kB / 493.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.058, allocations: 0 / 493.2 MB, free: 15.16 MB / 362.7 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)