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.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001045/0.001045, allocations: 168.9 kB / 361.4 MB, free: 6.883 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.693/1.693, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009151/0.0009152, allocations: 84.48 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.143e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7024/0.7025, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.583, allocations: 2.064 GB / 3.029 GB, free: 97.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/5.583, allocations: 83.95 kB / 3.029 GB, free: 97.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.438/7.021, allocations: 406.3 MB / 3.426 GB, free: 73.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/7.021, allocations: 0 / 3.426 GB, free: 73.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.054e-05/7.021, allocations: 24 kB / 3.426 GB, free: 73.73 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.002137/7.023, allocations: 0.8494 MB / 3.427 GB, free: 72.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/7.023, allocations: 8.031 kB / 3.427 GB, free: 72.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/7.023, allocations: 71.84 kB / 3.427 GB, free: 72.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/7.024, allocations: 416.6 kB / 3.427 GB, free: 72.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/7.024, allocations: 19.98 kB / 3.427 GB, free: 72.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/7.024, allocations: 32 kB / 3.427 GB, free: 72.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000565/7.025, allocations: 278.5 kB / 3.427 GB, free: 71.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/7.026, allocations: 0.5831 MB / 3.428 GB, free: 71.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/7.026, allocations: 3.938 kB / 3.428 GB, free: 71.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/7.026, allocations: 8 kB / 3.428 GB, free: 71.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/7.026, allocations: 35.94 kB / 3.428 GB, free: 71.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/7.028, allocations: 2.987 MB / 3.431 GB, free: 68.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/7.028, allocations: 211 kB / 3.431 GB, free: 67.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/7.028, allocations: 112.5 kB / 3.431 GB, free: 67.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/7.028, allocations: 8 kB / 3.431 GB, free: 67.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/7.028, allocations: 42.5 kB / 3.431 GB, free: 67.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.965e-06/7.028, allocations: 0 / 3.431 GB, free: 67.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004127/7.029, allocations: 133.2 kB / 3.431 GB, free: 67.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/7.029, allocations: 290.7 kB / 3.432 GB, free: 67.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/7.029, allocations: 221.2 kB / 3.432 GB, free: 66.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/7.029, allocations: 26.02 kB / 3.432 GB, free: 66.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/7.029, allocations: 299.5 kB / 3.432 GB, free: 66.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/7.029, allocations: 31.55 kB / 3.432 GB, free: 66.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/7.029, allocations: 0 / 3.432 GB, free: 66.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/7.029, allocations: 338.8 kB / 3.433 GB, free: 66.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/7.029, allocations: 23.98 kB / 3.433 GB, free: 66.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/7.03, allocations: 104.4 kB / 3.433 GB, free: 66.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.929e-05/7.03, allocations: 27.98 kB / 3.433 GB, free: 66.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/7.03, allocations: 4 kB / 3.433 GB, free: 66.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/7.03, allocations: 125.2 kB / 3.433 GB, free: 65.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/7.03, allocations: 7.953 kB / 3.433 GB, free: 65.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/7.03, allocations: 4 kB / 3.433 GB, free: 65.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/7.03, allocations: 0 / 3.433 GB, free: 65.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/7.03, allocations: 27.92 kB / 3.433 GB, free: 65.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/7.03, allocations: 4 kB / 3.433 GB, free: 65.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/7.03, allocations: 28.39 kB / 3.433 GB, free: 65.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/7.03, allocations: 8 kB / 3.433 GB, free: 65.86 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 7.45e-05/7.03, allocations: 109 kB / 3.433 GB, free: 65.74 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000298/7.031, allocations: 149.2 kB / 3.433 GB, free: 65.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/7.031, allocations: 27.67 kB / 3.433 GB, free: 65.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/7.031, allocations: 29.36 kB / 3.433 GB, free: 65.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/7.031, allocations: 4 kB / 3.433 GB, free: 65.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.031, allocations: 0 / 3.433 GB, free: 65.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/7.031, allocations: 4 kB / 3.433 GB, free: 65.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/7.032, allocations: 1.219 MB / 3.434 GB, free: 64.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/7.032, allocations: 4 kB / 3.434 GB, free: 64.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/7.032, allocations: 24.27 kB / 3.434 GB, free: 64.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/7.032, allocations: 4 kB / 3.434 GB, free: 64.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/7.032, allocations: 4 kB / 3.434 GB, free: 64.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/7.032, allocations: 7.984 kB / 3.434 GB, free: 64.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/7.032, allocations: 7.938 kB / 3.434 GB, free: 64.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/7.032, allocations: 370.3 kB / 3.435 GB, free: 63.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/7.033, allocations: 116.7 kB / 3.435 GB, free: 63.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/7.033, allocations: 4 kB / 3.435 GB, free: 63.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/7.033, allocations: 19.98 kB / 3.435 GB, free: 63.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/7.033, allocations: 7.984 kB / 3.435 GB, free: 63.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/7.033, allocations: 4 kB / 3.435 GB, free: 63.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001301/7.033, allocations: 184.5 kB / 3.435 GB, free: 63.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.033, allocations: 0 / 3.435 GB, free: 63.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008516/7.034, allocations: 215.7 kB / 3.435 GB, free: 63.16 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.003042/7.037, allocations: 3.07 MB / 3.438 GB, free: 59.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002087/7.037, allocations: 75.84 kB / 3.438 GB, free: 59.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/7.037, allocations: 4 kB / 3.438 GB, free: 59.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/7.037, allocations: 39.92 kB / 3.438 GB, free: 59.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/7.038, allocations: 93.62 kB / 3.438 GB, free: 59.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/7.039, allocations: 0.7289 MB / 3.439 GB, free: 58.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/7.04, allocations: 0.9232 MB / 3.44 GB, free: 57.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001649/7.04, allocations: 54 kB / 3.44 GB, free: 57.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/7.04, allocations: 163.4 kB / 3.44 GB, free: 57.78 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/7.04, allocations: 0 / 3.44 GB, free: 57.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/7.081, allocations: 17.79 MB / 3.458 GB, free: 40.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/7.081, allocations: 180.2 kB / 3.458 GB, free: 39.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/9.527, allocations: 0 / 3.458 GB, free: 39.88 MB / 0.948 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)