Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.00124/0.00124, allocations: 183.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5246/0.5246, allocations: 91.97 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.1 MB / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 96.27 kB / 427.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004371, allocations: 16 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 72.3 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.235, allocations: 325.6 MB / 0.8869 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.235, allocations: 93.25 kB / 0.887 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02773/1.263, allocations: 14.23 MB / 0.9009 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/1.263, allocations: 0 / 0.9009 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.263, allocations: 4 kB / 0.9009 GB, free: 128.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006774/1.264, allocations: 480.9 kB / 0.9014 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.264, allocations: 8.031 kB / 0.9014 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/1.264, allocations: 49.81 kB / 0.9014 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/1.264, allocations: 11.81 kB / 0.9014 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.264, allocations: 174.9 kB / 0.9016 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.264, allocations: 7.5 kB / 0.9016 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/1.264, allocations: 10.81 kB / 0.9016 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/1.265, allocations: 134.9 kB / 0.9018 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/1.265, allocations: 0 / 0.9018 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.265, allocations: 3.125 kB / 0.9018 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.265, allocations: 11.94 kB / 0.9018 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/1.265, allocations: 158.6 kB / 0.9019 GB, free: 127 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/1.266, allocations: 466.9 kB / 0.9024 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.266, allocations: 137.1 kB / 0.9025 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.267, allocations: 0.9658 MB / 0.9034 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.267, allocations: 30.56 kB / 0.9035 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/1.267, allocations: 0 / 0.9035 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0006078/1.268, allocations: 246.2 kB / 0.9037 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/1.268, allocations: 51.41 kB / 0.9038 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/1.268, allocations: 148.8 kB / 0.9039 GB, free: 125 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.268, allocations: 29.2 kB / 0.9039 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/1.268, allocations: 106.2 kB / 0.904 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/1.268, allocations: 53.56 kB / 0.9041 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/1.268, allocations: 3.5 kB / 0.9041 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/1.268, allocations: 326.2 kB / 0.9044 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.268, allocations: 78.39 kB / 0.9045 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/1.269, allocations: 127 kB / 0.9046 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/1.269, allocations: 89.66 kB / 0.9047 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.269, allocations: 0 / 0.9047 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000498/1.269, allocations: 266.7 kB / 0.9049 GB, free: 124 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.269, allocations: 9.562 kB / 0.9049 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.269, allocations: 0 / 0.9049 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.269, allocations: 96 / 0.9049 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.27, allocations: 63.91 kB / 0.905 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.27, allocations: 7.922 kB / 0.905 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.27, allocations: 38.27 kB / 0.905 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/1.27, allocations: 8 kB / 0.9051 GB, free: 123.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.132e-05/1.27, allocations: 131.8 kB / 0.9052 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/1.27, allocations: 15.81 kB / 0.9052 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/1.27, allocations: 188.3 kB / 0.9054 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.27, allocations: 3.938 kB / 0.9054 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.27, allocations: 0 / 0.9054 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.27, allocations: 4 kB / 0.9054 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/1.271, allocations: 216.5 kB / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.271, allocations: 0 / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.271, allocations: 39.97 kB / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.271, allocations: 0 / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.271, allocations: 6.875 kB / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.271, allocations: 0 / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.271, allocations: 0 / 0.9056 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/1.271, allocations: 288.8 kB / 0.9059 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/1.271, allocations: 88.97 kB / 0.906 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/1.271, allocations: 0 / 0.906 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.271, allocations: 22.73 kB / 0.906 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/1.272, allocations: 7.984 kB / 0.906 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.272, allocations: 7.188 kB / 0.906 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.593e-05/1.272, allocations: 117.8 kB / 0.9061 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.272, allocations: 0 / 0.9061 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003332/1.272, allocations: 70.7 kB / 0.9062 GB, free: 122.7 MB / 0.5886 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007916/1.273, allocations: 0.891 MB / 0.9071 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004356/1.273, allocations: 186.8 kB / 0.9073 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.273, allocations: 3.938 kB / 0.9073 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.273, allocations: 81.02 kB / 0.9073 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/1.274, allocations: 21.61 kB / 0.9074 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/1.274, allocations: 1.048 MB / 0.9084 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/1.275, allocations: 0.7126 MB / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.275, allocations: 13.08 kB / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/1.275, allocations: 35.36 kB / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/1.275, allocations: 4 kB / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/1.29, allocations: 4.224 MB / 0.9133 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.29, allocations: 197.5 kB / 0.9134 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/3.155, allocations: 0 / 0.9134 GB, free: 115.5 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)