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.001143/0.001143, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5168/0.5168, allocations: 90.8 MB / 104.5 MB, free: 13.9 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.507/1.507, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.0009129/0.0009127, allocations: 96.72 kB / 421.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.239e-05, allocations: 4 kB / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 72.3 MB / 0.5603 GB, free: 6.301 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.439, allocations: 325.6 MB / 0.8783 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.44, allocations: 87.94 kB / 0.8784 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02885/1.469, allocations: 14.17 MB / 0.8922 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.472e-06/1.469, allocations: 0 / 0.8922 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.469, allocations: 8 kB / 0.8922 GB, free: 150.4 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.0007022/1.47, allocations: 458.1 kB / 0.8926 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.47, allocations: 11.98 kB / 0.8926 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/1.47, allocations: 46.5 kB / 0.8927 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/1.47, allocations: 15.81 kB / 0.8927 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.47, allocations: 186.7 kB / 0.8929 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.47, allocations: 8 kB / 0.8929 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/1.47, allocations: 12 kB / 0.8929 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.47, allocations: 98.34 kB / 0.893 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.47, allocations: 3.938 kB / 0.893 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.47, allocations: 4 kB / 0.893 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.47, allocations: 7.938 kB / 0.893 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/1.47, allocations: 99.91 kB / 0.8931 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/1.471, allocations: 464.5 kB / 0.8935 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.471, allocations: 94.58 kB / 0.8936 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/1.471, allocations: 48.84 kB / 0.8937 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.473, allocations: 0.9763 MB / 0.8946 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.473, allocations: 38.5 kB / 0.8947 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/1.473, allocations: 4 kB / 0.8947 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0002545/1.473, allocations: 105.5 kB / 0.8948 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.473, allocations: 55.34 kB / 0.8948 GB, free: 147.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/1.473, allocations: 149.2 kB / 0.895 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.473, allocations: 29.7 kB / 0.895 GB, free: 147.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/1.473, allocations: 104.4 kB / 0.8951 GB, free: 147 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/1.473, allocations: 39.39 kB / 0.8951 GB, free: 147 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/1.473, allocations: 4 kB / 0.8951 GB, free: 147 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.473, allocations: 330.8 kB / 0.8955 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/1.473, allocations: 52 kB / 0.8955 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/1.474, allocations: 84.23 kB / 0.8956 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/1.474, allocations: 59.97 kB / 0.8956 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.474, allocations: 0 / 0.8956 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000275/1.474, allocations: 194 kB / 0.8958 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.474, allocations: 5.094 kB / 0.8958 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.474, allocations: 0 / 0.8958 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.474, allocations: 4 kB / 0.8958 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.474, allocations: 55.91 kB / 0.8959 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/1.474, allocations: 4 kB / 0.8959 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.474, allocations: 43.81 kB / 0.8959 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/1.475, allocations: 4 kB / 0.8959 GB, free: 146.2 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 () * 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 7.302e-05/1.475, allocations: 124.8 kB / 0.8961 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/1.475, allocations: 7.906 kB / 0.8961 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/1.475, allocations: 134.1 kB / 0.8962 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.475, allocations: 0 / 0.8962 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.475, allocations: 3.984 kB / 0.8962 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.475, allocations: 4 kB / 0.8962 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.475, allocations: 213.5 kB / 0.8964 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.475, allocations: 0 / 0.8964 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/1.475, allocations: 39.91 kB / 0.8964 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.475, allocations: 0 / 0.8964 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.475, allocations: 8 kB / 0.8965 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.475, allocations: 0 / 0.8965 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.475, allocations: 0 / 0.8965 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/1.475, allocations: 215.4 kB / 0.8967 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/1.476, allocations: 88.97 kB / 0.8967 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.476, allocations: 4 kB / 0.8967 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.476, allocations: 19.98 kB / 0.8968 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/1.476, allocations: 7.984 kB / 0.8968 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/1.476, allocations: 11.94 kB / 0.8968 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.199e-05/1.476, allocations: 119.6 kB / 0.8969 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.476, allocations: 0 / 0.8969 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003244/1.476, allocations: 76.23 kB / 0.897 GB, free: 145 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 () * 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.0006154/1.477, allocations: 0.8192 MB / 0.8978 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002328/1.477, allocations: 123.1 kB / 0.8979 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.477, allocations: 0 / 0.8979 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/1.477, allocations: 43.94 kB / 0.8979 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/1.477, allocations: 23.92 kB / 0.898 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/1.478, allocations: 212.7 kB / 0.8982 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/1.478, allocations: 0.7087 MB / 0.8988 GB, free: 143 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.947e-05/1.478, allocations: 17.64 kB / 0.8989 GB, free: 143 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/1.478, allocations: 35.42 kB / 0.8989 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.478, allocations: 0 / 0.8989 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/1.494, allocations: 4.273 MB / 0.9031 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.494, allocations: 174.7 kB / 0.9032 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.214, allocations: 1.719 kB / 0.9032 GB, free: 138.6 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)