Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.72/1.72, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009224/0.0009227, allocations: 98.45 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.226e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.302, allocations: 354.4 MB / 1.238 GB, free: 12 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.302, allocations: 89.75 kB / 1.238 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6821/1.985, allocations: 13.51 MB / 1.251 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/1.985, allocations: 0 / 1.251 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.985, allocations: 2.219 kB / 1.251 GB, free: 306.9 MB / 0.8542 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.0008396/1.985, allocations: 460.9 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.985, allocations: 8.344 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/1.986, allocations: 43.95 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.986, allocations: 14.97 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/1.986, allocations: 181.3 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.986, allocations: 8.25 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.986, allocations: 13.09 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.986, allocations: 102.2 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.986, allocations: 1.859 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.986, allocations: 3.281 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.986, allocations: 3.094 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/1.986, allocations: 93.8 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.987, allocations: 471.5 kB / 1.253 GB, free: 306 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/1.988, allocations: 105.2 kB / 1.253 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/1.988, allocations: 45.23 kB / 1.253 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.989, allocations: 0.9888 MB / 1.254 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/1.989, allocations: 35.95 kB / 1.254 GB, free: 305 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 3.056e-06/1.989, allocations: 2.688 kB / 1.254 GB, free: 305 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002883/1.989, allocations: 107.6 kB / 1.254 GB, free: 305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/1.989, allocations: 53.12 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/1.99, allocations: 144.7 kB / 1.254 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.99, allocations: 30.52 kB / 1.254 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.99, allocations: 113.9 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/1.99, allocations: 39.59 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.99, allocations: 4.812 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/1.99, allocations: 322 kB / 1.255 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/1.99, allocations: 50.95 kB / 1.255 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.99, allocations: 85.59 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/1.99, allocations: 59.88 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.99, allocations: 1.375 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003305/1.991, allocations: 193.4 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.991, allocations: 5.875 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.991, allocations: 4.469 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.991, allocations: 2.859 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/1.991, allocations: 63.44 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.991, allocations: 7.344 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/1.991, allocations: 41.89 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/1.991, allocations: 8.422 kB / 1.255 GB, free: 304.3 MB / 0.8542 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 6.931e-05/1.991, allocations: 110.1 kB / 1.255 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/1.991, allocations: 17.28 kB / 1.255 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/1.992, allocations: 135.3 kB / 1.255 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.992, allocations: 2.562 kB / 1.255 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.992, allocations: 0 / 1.255 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/1.992, allocations: 0.7969 kB / 1.255 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/1.992, allocations: 214.7 kB / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.992, allocations: 0 / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/1.992, allocations: 37.17 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.992, allocations: 0 / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.992, allocations: 5.266 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.992, allocations: 2.156 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.992, allocations: 1.812 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/1.992, allocations: 216.6 kB / 1.256 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/1.992, allocations: 90.3 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.992, allocations: 1.828 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/1.993, allocations: 20.47 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/1.993, allocations: 15.61 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.993, allocations: 3.094 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.828e-05/1.993, allocations: 113.3 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/1.993, allocations: 0 / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003784/1.993, allocations: 71.53 kB / 1.256 GB, free: 303.6 MB / 0.8542 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.0006891/1.994, allocations: 0.8154 MB / 1.257 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002775/1.994, allocations: 121.9 kB / 1.257 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.994, allocations: 1.312 kB / 1.257 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/1.994, allocations: 43.55 kB / 1.257 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/1.995, allocations: 25.66 kB / 1.257 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/1.995, allocations: 215.4 kB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/1.995, allocations: 0.7074 MB / 1.258 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001087/1.995, allocations: 22.19 kB / 1.258 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/1.996, allocations: 36.7 kB / 1.258 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/1.996, allocations: 0 / 1.258 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/2.014, allocations: 4.29 MB / 1.262 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/2.014, allocations: 182.2 kB / 1.262 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/3.901, allocations: 0.7188 kB / 1.262 GB, free: 301.5 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)