Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8414/0.8414, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 180.8 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.0009601, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 284.3 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/1.993e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4987, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.139/5.638, allocations: 1.83 GB / 2.587 GB, free: 187.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.639, allocations: 82.39 kB / 2.587 GB, free: 187.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.252/6.89, allocations: 410 MB / 2.988 GB, free: 63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.674e-06/6.89, allocations: 0 / 2.988 GB, free: 63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.458e-05/6.89, allocations: 19.98 kB / 2.988 GB, free: 62.98 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.001426/6.892, allocations: 0.8578 MB / 2.989 GB, free: 62.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/6.892, allocations: 8.031 kB / 2.989 GB, free: 62.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/6.892, allocations: 63.25 kB / 2.989 GB, free: 62.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/6.892, allocations: 434 kB / 2.989 GB, free: 61.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/6.892, allocations: 20 kB / 2.989 GB, free: 61.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/6.892, allocations: 32 kB / 2.989 GB, free: 61.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004209/6.893, allocations: 282.4 kB / 2.989 GB, free: 61.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/6.893, allocations: 0.5793 MB / 2.99 GB, free: 60.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/6.894, allocations: 7.938 kB / 2.99 GB, free: 60.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/6.894, allocations: 4 kB / 2.99 GB, free: 60.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/6.894, allocations: 23.98 kB / 2.99 GB, free: 60.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/6.895, allocations: 3.002 MB / 2.993 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/6.895, allocations: 194.2 kB / 2.993 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/6.896, allocations: 112.5 kB / 2.993 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/6.896, allocations: 8 kB / 2.993 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/6.896, allocations: 42.48 kB / 2.993 GB, free: 56.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/6.896, allocations: 0 / 2.993 GB, free: 56.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003464/6.896, allocations: 145.1 kB / 2.993 GB, free: 56.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/6.896, allocations: 282.7 kB / 2.994 GB, free: 56.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/6.896, allocations: 221.5 kB / 2.994 GB, free: 56.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/6.896, allocations: 33.7 kB / 2.994 GB, free: 56.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/6.896, allocations: 287.7 kB / 2.994 GB, free: 55.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/6.896, allocations: 35.45 kB / 2.994 GB, free: 55.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/6.896, allocations: 0 / 2.994 GB, free: 55.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/6.896, allocations: 338.8 kB / 2.995 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/6.896, allocations: 19.98 kB / 2.995 GB, free: 55.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/6.897, allocations: 104.5 kB / 2.995 GB, free: 55.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/6.897, allocations: 27.98 kB / 2.995 GB, free: 55.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/6.897, allocations: 0 / 2.995 GB, free: 55.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/6.897, allocations: 125.2 kB / 2.995 GB, free: 55.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/6.897, allocations: 8 kB / 2.995 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/6.897, allocations: 0 / 2.995 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/6.897, allocations: 4 kB / 2.995 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/6.897, allocations: 31.97 kB / 2.995 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/6.897, allocations: 3.938 kB / 2.995 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/6.897, allocations: 28.11 kB / 2.995 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/6.897, allocations: 11.98 kB / 2.995 GB, free: 55.09 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 () * 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.887e-05/6.897, allocations: 108.9 kB / 2.995 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002668/6.898, allocations: 137.2 kB / 2.995 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/6.898, allocations: 31.72 kB / 2.995 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/6.898, allocations: 25.36 kB / 2.995 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/6.898, allocations: 8.156 kB / 2.995 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/6.898, allocations: 4 kB / 2.995 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/6.898, allocations: 15.88 kB / 2.995 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/6.899, allocations: 1.204 MB / 2.996 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/6.899, allocations: 4 kB / 2.996 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/6.899, allocations: 40.14 kB / 2.996 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/6.899, allocations: 4 kB / 2.996 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/6.899, allocations: 4.281 kB / 2.996 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/6.899, allocations: 0 / 2.996 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/6.899, allocations: 7.938 kB / 2.996 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/6.899, allocations: 378.2 kB / 2.997 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/6.899, allocations: 112.7 kB / 2.997 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/6.899, allocations: 4 kB / 2.997 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/6.899, allocations: 31.97 kB / 2.997 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/6.899, allocations: 15.95 kB / 2.997 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/6.899, allocations: 4 kB / 2.997 GB, free: 52.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001043/6.9, allocations: 176.6 kB / 2.997 GB, free: 52.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.31e-07/6.9, allocations: 0 / 2.997 GB, free: 52.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006887/6.9, allocations: 219.3 kB / 2.997 GB, free: 52.38 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 () * 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.002229/6.902, allocations: 3.054 MB / 3 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001587/6.903, allocations: 71.84 kB / 3 GB, free: 49.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/6.903, allocations: 0 / 3 GB, free: 49.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/6.903, allocations: 44.72 kB / 3 GB, free: 49.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/6.903, allocations: 95.27 kB / 3.001 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/6.904, allocations: 0.7243 MB / 3.001 GB, free: 48.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/6.905, allocations: 0.9194 MB / 3.002 GB, free: 47.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001238/6.905, allocations: 53.95 kB / 3.002 GB, free: 47.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/6.905, allocations: 167.3 kB / 3.002 GB, free: 47.02 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/6.905, allocations: 3.938 kB / 3.002 GB, free: 47.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/6.942, allocations: 17.82 MB / 3.02 GB, free: 29.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/6.943, allocations: 184.2 kB / 3.02 GB, free: 29.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/9.46, allocations: 2.109 kB / 3.02 GB, free: 29.04 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)