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.7962/0.7962, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 184.8 kB / 182.2 MB, free: 9.422 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.357/1.357, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009006/0.0009005, allocations: 89.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 270.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.95e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4105, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5534, allocations: 109.9 MB / 0.8648 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5537, allocations: 83.89 kB / 0.8648 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0159/0.5696, allocations: 5.307 MB / 0.87 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5697, allocations: 0 / 0.87 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5697, allocations: 0 / 0.87 GB, free: 12.52 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.0004822/0.5702, allocations: 418.1 kB / 0.8704 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5703, allocations: 8.031 kB / 0.8704 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.5704, allocations: 7.906 kB / 0.8704 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.5706, allocations: 194.8 kB / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.5707, allocations: 4 kB / 0.8706 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.5707, allocations: 0 / 0.8706 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.5708, allocations: 28 kB / 0.8706 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.5709, allocations: 51.95 kB / 0.8707 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5709, allocations: 0 / 0.8707 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5709, allocations: 0 / 0.8707 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5709, allocations: 4 kB / 0.8707 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.5714, allocations: 285.4 kB / 0.871 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.5715, allocations: 38.58 kB / 0.871 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.5716, allocations: 20.97 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.5716, allocations: 4 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5716, allocations: 34.55 kB / 0.8711 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5716, allocations: 0 / 0.8711 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002274/0.5719, allocations: 69.53 kB / 0.8711 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.5719, allocations: 55.41 kB / 0.8712 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.572, allocations: 114.7 kB / 0.8713 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.572, allocations: 25.7 kB / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.5721, allocations: 92.14 kB / 0.8714 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.5721, allocations: 19.66 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5721, allocations: 0 / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5723, allocations: 326.8 kB / 0.8717 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.5723, allocations: 12 kB / 0.8717 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.5723, allocations: 12 kB / 0.8718 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.5724, allocations: 20.17 kB / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5724, allocations: 0 / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001345/0.5725, allocations: 73.53 kB / 0.8718 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5726, allocations: 13.5 kB / 0.8719 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5726, allocations: 0 / 0.8719 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5726, allocations: 0 / 0.8719 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5727, allocations: 19.92 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.5727, allocations: 0 / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.5728, allocations: 8 kB / 0.8719 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5728, allocations: 7.984 kB / 0.8719 GB, free: 10.39 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 8.198e-05/0.5729, allocations: 104.9 kB / 0.872 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000134/0.5731, allocations: 69.59 kB / 0.8721 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.5731, allocations: 3.906 kB / 0.8721 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.5733, allocations: 78.02 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5733, allocations: 0 / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5733, allocations: 0 / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5733, allocations: 4 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.5735, allocations: 166.1 kB / 0.8723 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5735, allocations: 4 kB / 0.8723 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.5736, allocations: 15.98 kB / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5736, allocations: 0 / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.5736, allocations: 0 / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5736, allocations: 0 / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5736, allocations: 0 / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.5738, allocations: 183.5 kB / 0.8725 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.5739, allocations: 81.02 kB / 0.8726 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.5739, allocations: 0 / 0.8726 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.574, allocations: 4 kB / 0.8726 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.574, allocations: 7.984 kB / 0.8726 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.574, allocations: 8 kB / 0.8726 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.5741, allocations: 91.27 kB / 0.8727 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5741, allocations: 0 / 0.8727 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000232/0.5743, allocations: 24 kB / 0.8727 GB, free: 9.473 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.0004994/0.5748, allocations: 0.7162 MB / 0.8734 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.575, allocations: 35.94 kB / 0.8734 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.575, allocations: 0 / 0.8734 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.575, allocations: 23.98 kB / 0.8735 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.5752, allocations: 8 kB / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.5756, allocations: 141.4 kB / 0.8736 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5759, allocations: 0.6962 MB / 0.8743 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.934e-05/0.576, allocations: 12.11 kB / 0.8743 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.576, allocations: 19.44 kB / 0.8743 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.576, allocations: 0 / 0.8743 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.5946, allocations: 1.662 MB / 0.8759 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.5949, allocations: 162.6 kB / 0.8761 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.247, allocations: 0 / 0.8761 GB, free: 5.906 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)