Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6931/0.6931, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 185.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 101 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002323/0.002323, allocations: 268.7 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.949e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4371, allocations: 110.5 MB / 0.8723 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.4373, allocations: 83.94 kB / 0.8724 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.4517, allocations: 5.337 MB / 0.8776 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4517, allocations: 0 / 0.8776 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.4517, allocations: 0 / 0.8776 GB, free: 8.613 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003812/0.4521, allocations: 394.2 kB / 0.878 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4521, allocations: 16.03 kB / 0.878 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.4522, allocations: 38.55 kB / 0.878 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.4523, allocations: 7.906 kB / 0.878 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.4525, allocations: 200.2 kB / 0.8782 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.4525, allocations: 0 / 0.8782 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4525, allocations: 7.984 kB / 0.8782 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4526, allocations: 45.69 kB / 0.8783 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4526, allocations: 8 kB / 0.8783 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4527, allocations: 7.984 kB / 0.8783 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4527, allocations: 4 kB / 0.8783 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.4528, allocations: 27.98 kB / 0.8783 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.4532, allocations: 300.8 kB / 0.8786 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.4533, allocations: 50.52 kB / 0.8786 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.4534, allocations: 20.98 kB / 0.8787 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4534, allocations: 0 / 0.8787 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4534, allocations: 30.56 kB / 0.8787 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4534, allocations: 3.938 kB / 0.8787 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.00019/0.4536, allocations: 73.58 kB / 0.8788 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4537, allocations: 55.34 kB / 0.8788 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.4537, allocations: 114.1 kB / 0.8789 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4538, allocations: 33.69 kB / 0.879 GB, free: 7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.4538, allocations: 92.14 kB / 0.8791 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.4538, allocations: 19.66 kB / 0.8791 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4538, allocations: 0 / 0.8791 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.4539, allocations: 326.8 kB / 0.8794 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.454, allocations: 12 kB / 0.8794 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.454, allocations: 12 kB / 0.8794 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.454, allocations: 15.98 kB / 0.8794 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.454, allocations: 3.938 kB / 0.8794 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001272/0.4542, allocations: 73.69 kB / 0.8795 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4542, allocations: 5.562 kB / 0.8795 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4542, allocations: 2.266 kB / 0.8795 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.4542, allocations: 0 / 0.8795 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4543, allocations: 19.92 kB / 0.8795 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4544, allocations: 0 / 0.8795 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.4544, allocations: 15.91 kB / 0.8795 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4544, allocations: 3.984 kB / 0.8795 GB, free: 6.395 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.4545, allocations: 112.9 kB / 0.8797 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4545, allocations: 3.906 kB / 0.8797 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.4547, allocations: 77.77 kB / 0.8797 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4547, allocations: 4 kB / 0.8797 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4547, allocations: 0 / 0.8797 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4547, allocations: 0 / 0.8797 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.4549, allocations: 185.8 kB / 0.8799 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4549, allocations: 7.938 kB / 0.8799 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.455, allocations: 19.98 kB / 0.8799 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.455, allocations: 4 kB / 0.8799 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.455, allocations: 7.984 kB / 0.8799 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.455, allocations: 0 / 0.8799 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.455, allocations: 0 / 0.8799 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4552, allocations: 167.4 kB / 0.8801 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.4552, allocations: 81.02 kB / 0.8802 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4552, allocations: 4 kB / 0.8802 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.4553, allocations: 15.98 kB / 0.8802 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.4554, allocations: 4 kB / 0.8802 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.4554, allocations: 0 / 0.8802 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.4554, allocations: 99.89 kB / 0.8803 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4555, allocations: 7.938 kB / 0.8803 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000206/0.4557, allocations: 19.94 kB / 0.8803 GB, free: 5.496 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.4561, allocations: 0.7299 MB / 0.881 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.4562, allocations: 43.92 kB / 0.8811 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4562, allocations: 0 / 0.8811 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.4563, allocations: 16 kB / 0.8811 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.4565, allocations: 12.56 kB / 0.8811 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.4569, allocations: 146.6 kB / 0.8813 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.4571, allocations: 0.6926 MB / 0.8819 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.4571, allocations: 12.16 kB / 0.8819 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.4572, allocations: 15.44 kB / 0.882 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.4572, allocations: 0 / 0.882 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.4689, allocations: 1.999 MB / 0.8839 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.4691, allocations: 178.1 kB / 0.8841 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.953, allocations: 0 / 0.8841 GB, free: 1.711 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)