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.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 187.1 kB / 316.3 MB, free: 3.215 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.581/1.581, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009419/0.0009421, allocations: 86.47 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.432e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.41/5.652, allocations: 2.183 GB / 3.069 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/5.652, allocations: 86.45 kB / 3.069 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/6.887, allocations: 393.1 MB / 3.453 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/6.887, allocations: 0 / 3.453 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.856e-05/6.887, allocations: 20.16 kB / 3.453 GB, free: 136.3 MB / 0.8698 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.001281/6.889, allocations: 0.8459 MB / 3.453 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/6.889, allocations: 12.03 kB / 3.453 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/6.889, allocations: 63.25 kB / 3.454 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/6.889, allocations: 432.5 kB / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/6.889, allocations: 20 kB / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/6.889, allocations: 32 kB / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004222/6.89, allocations: 270.5 kB / 3.454 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/6.891, allocations: 0.591 MB / 3.455 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/6.891, allocations: 3.938 kB / 3.455 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/6.891, allocations: 7.938 kB / 3.455 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/6.891, allocations: 31.91 kB / 3.455 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/6.892, allocations: 2.991 MB / 3.458 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/6.892, allocations: 198.1 kB / 3.458 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/6.892, allocations: 108.6 kB / 3.458 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/6.892, allocations: 0 / 3.458 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/6.893, allocations: 50.48 kB / 3.458 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/6.893, allocations: 0 / 3.458 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003373/6.893, allocations: 141.4 kB / 3.458 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/6.893, allocations: 286.7 kB / 3.459 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/6.893, allocations: 225.1 kB / 3.459 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/6.893, allocations: 25.7 kB / 3.459 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/6.893, allocations: 299.5 kB / 3.459 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/6.893, allocations: 35.45 kB / 3.459 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/6.893, allocations: 0 / 3.459 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/6.893, allocations: 338.9 kB / 3.459 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/6.893, allocations: 19.98 kB / 3.459 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/6.893, allocations: 96.56 kB / 3.46 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/6.893, allocations: 39.91 kB / 3.46 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/6.894, allocations: 0 / 3.46 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001425/6.894, allocations: 113.3 kB / 3.46 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/6.894, allocations: 8 kB / 3.46 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/6.894, allocations: 0.5156 kB / 3.46 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/6.894, allocations: 11.98 kB / 3.46 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/6.894, allocations: 27.92 kB / 3.46 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/6.894, allocations: 7.891 kB / 3.46 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/6.894, allocations: 19.98 kB / 3.46 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/6.894, allocations: 19.98 kB / 3.46 GB, free: 128.4 MB / 0.8698 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 6.169e-05/6.894, allocations: 112.9 kB / 3.46 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002618/6.894, allocations: 137 kB / 3.46 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/6.895, allocations: 27.72 kB / 3.46 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/6.895, allocations: 33.34 kB / 3.46 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/6.895, allocations: 12.27 kB / 3.46 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/6.895, allocations: 4 kB / 3.46 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.895, allocations: 8.266 kB / 3.46 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/6.896, allocations: 1.215 MB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/6.896, allocations: 0 / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/6.896, allocations: 27.92 kB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/6.896, allocations: 4 kB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/6.896, allocations: 4 kB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/6.896, allocations: 7.938 kB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/6.896, allocations: 4.281 kB / 3.461 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/6.896, allocations: 382.3 kB / 3.462 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/6.896, allocations: 104.8 kB / 3.462 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/6.896, allocations: 4 kB / 3.462 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/6.896, allocations: 19.97 kB / 3.462 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/6.896, allocations: 23.89 kB / 3.462 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/6.896, allocations: 4 kB / 3.462 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001/6.896, allocations: 180.6 kB / 3.462 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.896, allocations: 0 / 3.462 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006198/6.897, allocations: 215.2 kB / 3.462 GB, free: 125.7 MB / 0.8698 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.001979/6.899, allocations: 3.061 MB / 3.465 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001482/6.899, allocations: 68.09 kB / 3.465 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/6.899, allocations: 0 / 3.465 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/6.899, allocations: 51.86 kB / 3.465 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/6.9, allocations: 93.25 kB / 3.465 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/6.901, allocations: 0.7319 MB / 3.466 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/6.901, allocations: 0.9194 MB / 3.467 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000123/6.901, allocations: 50.03 kB / 3.467 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/6.902, allocations: 159.4 kB / 3.467 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/6.902, allocations: 0 / 3.467 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/6.935, allocations: 17.79 MB / 3.485 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/6.935, allocations: 170.5 kB / 3.485 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/9.35, allocations: 7.875 kB / 3.485 GB, free: 102.4 MB / 0.8698 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)