Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.404/2.404, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001504, allocations: 172.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 91.05 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.476e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8723, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/6.74, allocations: 2.064 GB / 3.028 GB, free: 54.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/6.741, allocations: 83.73 kB / 3.028 GB, free: 54.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.979/8.719, allocations: 406.3 MB / 3.424 GB, free: 36.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.744e-06/8.719, allocations: 0 / 3.424 GB, free: 36.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.775e-05/8.719, allocations: 23.98 kB / 3.425 GB, free: 36.72 MB / 0.948 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.001771/8.721, allocations: 0.861 MB / 3.425 GB, free: 35.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/8.721, allocations: 8.031 kB / 3.425 GB, free: 35.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/8.721, allocations: 71.23 kB / 3.425 GB, free: 35.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/8.722, allocations: 416.6 kB / 3.426 GB, free: 35.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/8.722, allocations: 16 kB / 3.426 GB, free: 35.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/8.722, allocations: 39.88 kB / 3.426 GB, free: 35.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00069/8.723, allocations: 274.5 kB / 3.426 GB, free: 34.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/8.724, allocations: 0.5836 MB / 3.427 GB, free: 34.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/8.724, allocations: 3.938 kB / 3.427 GB, free: 34.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/8.724, allocations: 4 kB / 3.427 GB, free: 34.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/8.724, allocations: 39.97 kB / 3.427 GB, free: 34.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/8.727, allocations: 2.987 MB / 3.43 GB, free: 31.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/8.727, allocations: 198.3 kB / 3.43 GB, free: 30.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/8.727, allocations: 112.5 kB / 3.43 GB, free: 30.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/8.727, allocations: 4 kB / 3.43 GB, free: 30.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/8.727, allocations: 50.48 kB / 3.43 GB, free: 30.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.346e-06/8.727, allocations: 0 / 3.43 GB, free: 30.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005095/8.728, allocations: 133.3 kB / 3.43 GB, free: 30.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/8.728, allocations: 286.7 kB / 3.43 GB, free: 30.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/8.728, allocations: 221.2 kB / 3.431 GB, free: 29.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/8.728, allocations: 25.7 kB / 3.431 GB, free: 29.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/8.728, allocations: 299.5 kB / 3.431 GB, free: 29.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/8.728, allocations: 27.56 kB / 3.431 GB, free: 29.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/8.728, allocations: 4.156 kB / 3.431 GB, free: 29.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/8.729, allocations: 342.8 kB / 3.431 GB, free: 29.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/8.729, allocations: 27.92 kB / 3.431 GB, free: 29.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/8.729, allocations: 92.56 kB / 3.431 GB, free: 29.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/8.729, allocations: 35.97 kB / 3.431 GB, free: 29.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.729, allocations: 3.938 kB / 3.431 GB, free: 29.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/8.729, allocations: 117.3 kB / 3.432 GB, free: 28.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/8.729, allocations: 8.172 kB / 3.432 GB, free: 28.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/8.729, allocations: 8 kB / 3.432 GB, free: 28.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/8.729, allocations: 0 / 3.432 GB, free: 28.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/8.729, allocations: 27.92 kB / 3.432 GB, free: 28.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/8.729, allocations: 4 kB / 3.432 GB, free: 28.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/8.73, allocations: 19.89 kB / 3.432 GB, free: 28.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/8.73, allocations: 15.98 kB / 3.432 GB, free: 28.84 MB / 0.948 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 () * 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 8.017e-05/8.73, allocations: 116.7 kB / 3.432 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003995/8.73, allocations: 141.1 kB / 3.432 GB, free: 28.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/8.73, allocations: 24.05 kB / 3.432 GB, free: 28.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/8.731, allocations: 29.95 kB / 3.432 GB, free: 28.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/8.731, allocations: 8 kB / 3.432 GB, free: 28.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/8.731, allocations: 11.92 kB / 3.432 GB, free: 28.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/8.731, allocations: 7.938 kB / 3.432 GB, free: 28.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/8.732, allocations: 1.215 MB / 3.433 GB, free: 27.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/8.732, allocations: 4 kB / 3.433 GB, free: 27.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/8.733, allocations: 27.98 kB / 3.433 GB, free: 27.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/8.733, allocations: 0 / 3.433 GB, free: 27.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/8.733, allocations: 7.953 kB / 3.433 GB, free: 27.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/8.733, allocations: 4.281 kB / 3.433 GB, free: 27.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/8.733, allocations: 11.94 kB / 3.433 GB, free: 27.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/8.733, allocations: 378.2 kB / 3.434 GB, free: 26.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/8.733, allocations: 112.8 kB / 3.434 GB, free: 26.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/8.733, allocations: 4 kB / 3.434 GB, free: 26.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/8.733, allocations: 19.97 kB / 3.434 GB, free: 26.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/8.733, allocations: 19.88 kB / 3.434 GB, free: 26.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/8.733, allocations: 4 kB / 3.434 GB, free: 26.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001763/8.734, allocations: 180.6 kB / 3.434 GB, free: 26.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.9e-07/8.734, allocations: 0 / 3.434 GB, free: 26.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009117/8.735, allocations: 203.3 kB / 3.434 GB, free: 26.13 MB / 0.948 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 () * 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.003058/8.738, allocations: 3.069 MB / 3.437 GB, free: 22.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002821/8.738, allocations: 75.84 kB / 3.437 GB, free: 22.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/8.738, allocations: 0 / 3.437 GB, free: 22.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/8.738, allocations: 43.92 kB / 3.437 GB, free: 22.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/8.739, allocations: 89.59 kB / 3.437 GB, free: 22.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/8.741, allocations: 0.7321 MB / 3.438 GB, free: 21.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/8.741, allocations: 0.9154 MB / 3.439 GB, free: 20.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002313/8.741, allocations: 54.03 kB / 3.439 GB, free: 20.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/8.742, allocations: 159.4 kB / 3.439 GB, free: 20.78 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.742, allocations: 4 kB / 3.439 GB, free: 20.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/8.808, allocations: 17.79 MB / 3.456 GB, free: 3.039 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/8.809, allocations: 161.9 kB / 3.457 GB, free: 2.852 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/12, allocations: 0 / 3.457 GB, free: 2.852 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)