Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001108/0.001108, allocations: 182.4 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 106.7 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003734, allocations: 15.08 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6449/0.8558, allocations: 146.9 MB / 1.123 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00741/0.8633, allocations: 7.009 MB / 1.13 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.8639, allocations: 13.78 kB / 1.13 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.8648, allocations: 349.2 kB / 1.13 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008492/0.8656, allocations: 370.6 kB / 1.13 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.8669, allocations: 0.5181 MB / 1.131 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.8676, allocations: 0.6729 MB / 1.132 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.8681, allocations: 458.3 kB / 1.132 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.8706, allocations: 1.226 MB / 1.133 GB, free: 252 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.8709, allocations: 211.5 kB / 1.133 GB, free: 196 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.8709, allocations: 23.47 kB / 1.133 GB, free: 196 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.8711, allocations: 54.06 kB / 1.134 GB, free: 196 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.8713, allocations: 217.7 kB / 1.134 GB, free: 176 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.8714, allocations: 132.5 kB / 1.134 GB, free: 16.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.8718, allocations: 456.1 kB / 1.134 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8718, allocations: 0 / 1.134 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8718, allocations: 0 / 1.134 GB, free: 16.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.8718, allocations: 0 / 1.134 GB, free: 16.08 MB / 0.698 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.0009046/0.8727, allocations: 0.7154 MB / 1.135 GB, free: 15.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8728, allocations: 8.75 kB / 1.135 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.8729, allocations: 104.3 kB / 1.135 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.873, allocations: 74.23 kB / 1.135 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.8736, allocations: 398.7 kB / 1.136 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.8736, allocations: 39.28 kB / 1.136 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.8737, allocations: 52.44 kB / 1.136 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.8746, allocations: 0.7108 MB / 1.136 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.8746, allocations: 3.156 kB / 1.136 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.8747, allocations: 22.52 kB / 1.136 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.8747, allocations: 31.48 kB / 1.136 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.8753, allocations: 385 kB / 1.137 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.8778, allocations: 3.234 MB / 1.14 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.878, allocations: 229.5 kB / 1.14 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.878, allocations: 0 / 1.14 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8781, allocations: 47.69 kB / 1.14 GB, free: 11.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.8781, allocations: 0 / 1.14 GB, free: 11.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006425/0.8787, allocations: 260.4 kB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.8789, allocations: 297.9 kB / 1.141 GB, free: 11.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.8796, allocations: 0.6746 MB / 1.141 GB, free: 11.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.8796, allocations: 32.14 kB / 1.141 GB, free: 11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.8798, allocations: 266.9 kB / 1.142 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.8798, allocations: 36.23 kB / 1.142 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.8798, allocations: 3.812 kB / 1.142 GB, free: 10.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.88, allocations: 368.1 kB / 1.142 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.8801, allocations: 47.2 kB / 1.142 GB, free: 10.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.8803, allocations: 99.73 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.8804, allocations: 54.58 kB / 1.142 GB, free: 10.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8804, allocations: 0 / 1.142 GB, free: 10.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003383/0.8808, allocations: 197.8 kB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8808, allocations: 6.188 kB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8808, allocations: 2.906 kB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8808, allocations: 0 / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.8811, allocations: 58.08 kB / 1.142 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.8811, allocations: 0 / 1.142 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.8813, allocations: 71.8 kB / 1.143 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.8814, allocations: 11.31 kB / 1.143 GB, free: 10.27 MB / 0.698 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.0001926/0.8816, allocations: 199.8 kB / 1.143 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.8818, allocations: 56.56 kB / 1.143 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.828e-05/0.8818, allocations: 61.84 kB / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.8819, allocations: 3.344 kB / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8819, allocations: 6.469 kB / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.8819, allocations: 0 / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.8832, allocations: 1.306 MB / 1.144 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8832, allocations: 2.531 kB / 1.144 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.8834, allocations: 61.11 kB / 1.144 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.8835, allocations: 2.75 kB / 1.144 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8835, allocations: 3.719 kB / 1.144 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.8835, allocations: 11.39 kB / 1.144 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.8835, allocations: 2.688 kB / 1.144 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.884, allocations: 457.3 kB / 1.145 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.8841, allocations: 145.6 kB / 1.145 GB, free: 8.402 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.8842, allocations: 6.156 kB / 1.145 GB, free: 8.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.8844, allocations: 20.45 kB / 1.145 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.8844, allocations: 19.84 kB / 1.145 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.8845, allocations: 4.969 kB / 1.145 GB, free: 8.383 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005386/0.885, allocations: 0.4897 MB / 1.145 GB, free: 8.215 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.885, allocations: 0 / 1.145 GB, free: 8.215 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003669/0.8854, allocations: 89.52 kB / 1.145 GB, free: 8.199 MB / 0.698 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.001092/0.8865, allocations: 1.638 MB / 1.147 GB, free: 6.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.8868, allocations: 111.2 kB / 1.147 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8868, allocations: 1.188 kB / 1.147 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.887, allocations: 66.89 kB / 1.147 GB, free: 6.602 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.8882, allocations: 277.3 kB / 1.147 GB, free: 6.512 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.8927, allocations: 3.764 MB / 1.151 GB, free: 4.352 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.8933, allocations: 0.9188 MB / 1.152 GB, free: 3.559 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003196/0.8936, allocations: 111.9 kB / 1.152 GB, free: 3.508 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.8938, allocations: 166.1 kB / 1.152 GB, free: 3.488 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.8938, allocations: 0 / 1.152 GB, free: 3.488 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.9228, allocations: 13 MB / 1.165 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.923, allocations: 226.8 kB / 1.165 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/3.081, allocations: 0 / 1.165 GB, free: 13.12 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)