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.6953/0.6953, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.8 kB / 187.3 MB, free: 11.88 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.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009244/0.0009243, allocations: 99.38 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 274.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.093e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3686, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.428/3.797, allocations: 1.83 GB / 2.595 GB, free: 219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/3.797, allocations: 83.95 kB / 2.595 GB, free: 218.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.023/4.82, allocations: 415.4 MB / 3.001 GB, free: 73.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/4.82, allocations: 0 / 3.001 GB, free: 73.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.525e-05/4.82, allocations: 19.98 kB / 3.001 GB, free: 73.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.001128/4.821, allocations: 0.85 MB / 3.001 GB, free: 72.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/4.821, allocations: 12.03 kB / 3.001 GB, free: 72.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.251e-05/4.821, allocations: 98.45 kB / 3.002 GB, free: 72.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/4.821, allocations: 63.25 kB / 3.002 GB, free: 72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/4.822, allocations: 422.5 kB / 3.002 GB, free: 71.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/4.822, allocations: 45.3 kB / 3.002 GB, free: 71.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/4.822, allocations: 52 kB / 3.002 GB, free: 71.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/4.823, allocations: 0.672 MB / 3.003 GB, free: 70.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/4.823, allocations: 0 / 3.003 GB, free: 70.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/4.823, allocations: 24 kB / 3.003 GB, free: 70.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/4.823, allocations: 35.92 kB / 3.003 GB, free: 70.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/4.823, allocations: 327.5 kB / 3.003 GB, free: 70.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/4.825, allocations: 3.215 MB / 3.006 GB, free: 66.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/4.825, allocations: 210.1 kB / 3.006 GB, free: 66.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/4.825, allocations: 112.7 kB / 3.007 GB, free: 66.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/4.825, allocations: 7.938 kB / 3.007 GB, free: 66.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/4.825, allocations: 46.48 kB / 3.007 GB, free: 66.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/4.825, allocations: 0 / 3.007 GB, free: 66.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003601/4.825, allocations: 180.8 kB / 3.007 GB, free: 66.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/4.826, allocations: 286.7 kB / 3.007 GB, free: 65.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/4.826, allocations: 0.6051 MB / 3.008 GB, free: 65.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/4.826, allocations: 30.02 kB / 3.008 GB, free: 65.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/4.826, allocations: 276.1 kB / 3.008 GB, free: 65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/4.826, allocations: 35.45 kB / 3.008 GB, free: 64.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/4.826, allocations: 0 / 3.008 GB, free: 64.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/4.826, allocations: 366.8 kB / 3.008 GB, free: 64.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/4.826, allocations: 23.98 kB / 3.008 GB, free: 64.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/4.826, allocations: 104.6 kB / 3.008 GB, free: 64.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/4.826, allocations: 36.23 kB / 3.008 GB, free: 64.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/4.826, allocations: 4 kB / 3.008 GB, free: 64.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/4.827, allocations: 164.9 kB / 3.009 GB, free: 64.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/4.827, allocations: 7.938 kB / 3.009 GB, free: 64.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/4.827, allocations: 0 / 3.009 GB, free: 64.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/4.827, allocations: 4 kB / 3.009 GB, free: 64.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/4.827, allocations: 31.88 kB / 3.009 GB, free: 64.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/4.827, allocations: 0 / 3.009 GB, free: 64.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/4.827, allocations: 79.44 kB / 3.009 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/4.827, allocations: 8 kB / 3.009 GB, free: 64.11 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 4.764e-05/4.827, allocations: 109 kB / 3.009 GB, free: 63.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/4.827, allocations: 55.34 kB / 3.009 GB, free: 63.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.69e-05/4.827, allocations: 60.31 kB / 3.009 GB, free: 63.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/4.827, allocations: 4 kB / 3.009 GB, free: 63.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/4.827, allocations: 11.95 kB / 3.009 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/4.827, allocations: 4 kB / 3.009 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/4.828, allocations: 1.293 MB / 3.01 GB, free: 62.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/4.828, allocations: 4 kB / 3.01 GB, free: 62.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/4.828, allocations: 27.98 kB / 3.01 GB, free: 62.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/4.828, allocations: 4 kB / 3.01 GB, free: 62.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/4.829, allocations: 0 / 3.01 GB, free: 62.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/4.829, allocations: 11.92 kB / 3.01 GB, free: 62.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/4.829, allocations: 4.281 kB / 3.01 GB, free: 62.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/4.829, allocations: 422.1 kB / 3.011 GB, free: 61.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/4.829, allocations: 144.4 kB / 3.011 GB, free: 61.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/4.829, allocations: 8.094 kB / 3.011 GB, free: 61.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/4.829, allocations: 23.91 kB / 3.011 GB, free: 61.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/4.829, allocations: 19.89 kB / 3.011 GB, free: 61.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/4.829, allocations: 8 kB / 3.011 GB, free: 61.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003779/4.83, allocations: 491.1 kB / 3.011 GB, free: 61.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/4.83, allocations: 0 / 3.011 GB, free: 61.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007236/4.83, allocations: 216 kB / 3.012 GB, free: 61 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.001832/4.832, allocations: 2.926 MB / 3.014 GB, free: 57.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001502/4.832, allocations: 75.84 kB / 3.014 GB, free: 57.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/4.832, allocations: 0 / 3.014 GB, free: 57.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/4.832, allocations: 48.86 kB / 3.015 GB, free: 57.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/4.833, allocations: 273.3 kB / 3.015 GB, free: 57.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/4.834, allocations: 0.8009 MB / 3.016 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/4.835, allocations: 0.9208 MB / 3.016 GB, free: 55.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002086/4.835, allocations: 100.6 kB / 3.017 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/4.835, allocations: 175.3 kB / 3.017 GB, free: 55.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/4.835, allocations: 0 / 3.017 GB, free: 55.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/4.886, allocations: 39.97 MB / 3.056 GB, free: 15.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/4.887, allocations: 201.5 kB / 3.056 GB, free: 15.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/7.903, allocations: 0 / 3.056 GB, free: 15.45 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)