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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001118/0.001119, allocations: 180.2 kB / 326.5 MB, free: 2.254 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.766/1.766, 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.0009242/0.000925, allocations: 91.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 10.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2266, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1605/0.3871, allocations: 147.1 MB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00968/0.3968, allocations: 7.128 MB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.3976, allocations: 15.88 kB / 1.051 GB, free: 5.266 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.3988, allocations: 366.3 kB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.4002, allocations: 458.5 kB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.4017, allocations: 0.51 MB / 1.052 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.4026, allocations: 0.6815 MB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/0.4033, allocations: 456.4 kB / 1.053 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.4065, allocations: 1.223 MB / 1.054 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.4069, allocations: 211 kB / 1.055 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.4069, allocations: 20 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.4071, allocations: 55.95 kB / 1.055 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.4074, allocations: 215.5 kB / 1.055 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4075, allocations: 125.4 kB / 1.055 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.408, allocations: 455.2 kB / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.408, allocations: 4 kB / 1.055 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.408, allocations: 4 kB / 1.055 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.408, allocations: 0 / 1.055 GB, free: 0.5234 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.4552/0.8633, allocations: 0.719 MB / 1.056 GB, free: 158.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/0.8634, allocations: 9.312 kB / 1.056 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000362/0.8637, allocations: 95.31 kB / 1.056 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.8639, allocations: 66.7 kB / 1.056 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.8646, allocations: 393.8 kB / 1.057 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.8647, allocations: 49.27 kB / 1.057 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.8648, allocations: 55.97 kB / 1.057 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.866, allocations: 0.6938 MB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8661, allocations: 2.406 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.8661, allocations: 23.02 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/0.8662, allocations: 39.95 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.8668, allocations: 386.5 kB / 1.058 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.869, allocations: 3.225 MB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.8692, allocations: 231.2 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.8693, allocations: 7.594 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8693, allocations: 44.06 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.456e-06/0.8693, allocations: 0.7031 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006407/0.87, allocations: 263.6 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.87, allocations: 292.7 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.8707, allocations: 0.6775 MB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8708, allocations: 28.55 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.871, allocations: 273.9 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.871, allocations: 34.56 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.871, allocations: 0 / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8711, allocations: 372.2 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.8713, allocations: 40.53 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.8714, allocations: 101.3 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.8716, allocations: 52.66 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8716, allocations: 9.766 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003249/0.8719, allocations: 195.5 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8719, allocations: 6.094 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.872, allocations: 5.672 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.872, allocations: 5.969 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.8722, allocations: 51.28 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8722, allocations: 2.906 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.8725, allocations: 68.52 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.8725, allocations: 9.906 kB / 1.064 GB, free: 153.8 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.0001928/0.8727, allocations: 201.5 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.8729, allocations: 63.28 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.873, allocations: 64.56 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.873, allocations: 3.422 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.873, allocations: 2.875 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.873, allocations: 3.484 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.8743, allocations: 1.298 MB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8743, allocations: 0 / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.8746, allocations: 60.92 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.8746, allocations: 2.969 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.8746, allocations: 6.781 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8746, allocations: 3.562 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8746, allocations: 0 / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.875, allocations: 465.5 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.8752, allocations: 151.5 kB / 1.066 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.8752, allocations: 3.422 kB / 1.066 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.8754, allocations: 20.48 kB / 1.066 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.8755, allocations: 12.58 kB / 1.066 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.8755, allocations: 9.594 kB / 1.066 GB, free: 152.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005413/0.876, allocations: 0.489 MB / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.876, allocations: 0 / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003858/0.8764, allocations: 90.31 kB / 1.066 GB, free: 152 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.0009025/0.8773, allocations: 1.633 MB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.8777, allocations: 116.2 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8777, allocations: 3.938 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.8779, allocations: 69.52 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.8791, allocations: 274.8 kB / 1.069 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.8841, allocations: 3.753 MB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.8847, allocations: 0.9207 MB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004926/0.8852, allocations: 104.4 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.8855, allocations: 169.7 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.8855, allocations: 96 / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.9212, allocations: 12.98 MB / 1.086 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.9215, allocations: 234.3 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.112, allocations: 0 / 1.086 GB, free: 142.8 MB / 0.698 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)