Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 175.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009144/0.0009144, allocations: 84.14 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004293, allocations: 8.562 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.64/5.891, allocations: 2.183 GB / 3.083 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/5.892, allocations: 87.39 kB / 3.083 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.285/7.177, allocations: 398.9 MB / 3.473 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/7.177, allocations: 3.188 kB / 3.473 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.82e-05/7.177, allocations: 19.42 kB / 3.473 GB, free: 223.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002263/7.179, allocations: 0.8956 MB / 3.474 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/7.179, allocations: 7.938 kB / 3.474 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/7.179, allocations: 103.5 kB / 3.474 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/7.18, allocations: 63.88 kB / 3.474 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/7.181, allocations: 423.4 kB / 3.474 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/7.181, allocations: 43.36 kB / 3.474 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/7.181, allocations: 51.09 kB / 3.474 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/7.182, allocations: 0.6859 MB / 3.475 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/7.182, allocations: 10.59 kB / 3.475 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/7.182, allocations: 22.31 kB / 3.475 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/7.182, allocations: 39.02 kB / 3.475 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/7.183, allocations: 366.7 kB / 3.476 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/7.185, allocations: 3.23 MB / 3.479 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/7.185, allocations: 221 kB / 3.479 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/7.185, allocations: 2.031 kB / 3.479 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/7.185, allocations: 54.67 kB / 3.479 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/7.185, allocations: 0 / 3.479 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006376/7.186, allocations: 262.1 kB / 3.479 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/7.186, allocations: 289.6 kB / 3.479 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/7.187, allocations: 0.6067 MB / 3.48 GB, free: 219 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/7.187, allocations: 29.67 kB / 3.48 GB, free: 219 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/7.187, allocations: 269.8 kB / 3.48 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/7.187, allocations: 29.95 kB / 3.48 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/7.187, allocations: 3.812 kB / 3.48 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/7.187, allocations: 370.3 kB / 3.481 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/7.187, allocations: 40.48 kB / 3.481 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/7.187, allocations: 122.1 kB / 3.481 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/7.187, allocations: 59.91 kB / 3.481 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/7.187, allocations: 0 / 3.481 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000304/7.188, allocations: 199.2 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/7.188, allocations: 3.938 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/7.188, allocations: 3.875 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/7.188, allocations: 0 / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/7.188, allocations: 28.02 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/7.188, allocations: 9.031 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/7.188, allocations: 66.06 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/7.188, allocations: 7.531 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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 0.0001692/7.188, allocations: 207.2 kB / 3.481 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/7.189, allocations: 67.47 kB / 3.482 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/7.189, allocations: 66.34 kB / 3.482 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/7.189, allocations: 3.719 kB / 3.482 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/7.189, allocations: 3.594 kB / 3.482 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/7.189, allocations: 0 / 3.482 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/7.19, allocations: 1.292 MB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/7.19, allocations: 2.562 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/7.19, allocations: 31.03 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/7.19, allocations: 3.719 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/7.19, allocations: 11.17 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/7.19, allocations: 7.281 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/7.19, allocations: 3.656 kB / 3.483 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/7.19, allocations: 451.4 kB / 3.483 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/7.19, allocations: 150.5 kB / 3.483 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/7.19, allocations: 3.75 kB / 3.484 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/7.191, allocations: 21.64 kB / 3.484 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/7.191, allocations: 19.14 kB / 3.484 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/7.191, allocations: 7.547 kB / 3.484 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004322/7.191, allocations: 496.8 kB / 3.484 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/7.191, allocations: 7.281 kB / 3.484 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009071/7.192, allocations: 217.4 kB / 3.484 GB, free: 216.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.002414/7.195, allocations: 2.947 MB / 3.487 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002948/7.195, allocations: 114 kB / 3.487 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/7.195, allocations: 0 / 3.487 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/7.195, allocations: 71.91 kB / 3.487 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/7.196, allocations: 268.7 kB / 3.488 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/7.2, allocations: 3.766 MB / 3.491 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/7.2, allocations: 0.9189 MB / 3.492 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00026/7.2, allocations: 103 kB / 3.492 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/7.2, allocations: 171 kB / 3.492 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/7.2, allocations: 0 / 3.492 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/7.252, allocations: 36.19 MB / 3.528 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/7.252, allocations: 229.7 kB / 3.528 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/10.28, allocations: 3.812 kB / 3.528 GB, free: 210.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)