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.9161/0.9161, allocations: 143.4 MB / 158.3 MB, free: 5.645 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.001209/0.001209, allocations: 177.1 kB / 191.5 MB, free: 5.66 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.664/1.664, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.001158/0.001158, allocations: 92.27 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 272.3 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004647, allocations: 16.59 kB / 0.6929 GB, free: 59.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 82.8 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.601, allocations: 1.83 GB / 2.604 GB, free: 246.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/5.601, allocations: 90.97 kB / 2.604 GB, free: 246.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.349/6.95, allocations: 415.8 MB / 3.01 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/6.951, allocations: 0 / 3.01 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.729e-05/6.951, allocations: 23.5 kB / 3.01 GB, free: 118.6 MB / 0.7136 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.001665/6.952, allocations: 0.8889 MB / 3.011 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/6.952, allocations: 12.03 kB / 3.011 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/6.952, allocations: 98.5 kB / 3.011 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/6.953, allocations: 67.25 kB / 3.011 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/6.953, allocations: 429.9 kB / 3.012 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/6.953, allocations: 33.31 kB / 3.012 GB, free: 117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/6.953, allocations: 67.86 kB / 3.012 GB, free: 117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/6.954, allocations: 0.6953 MB / 3.013 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/6.954, allocations: 3.938 kB / 3.013 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/6.954, allocations: 20 kB / 3.013 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/6.954, allocations: 35.98 kB / 3.013 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/6.955, allocations: 359.5 kB / 3.013 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/6.957, allocations: 3.22 MB / 3.016 GB, free: 112.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/6.957, allocations: 226.1 kB / 3.016 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/6.957, allocations: 0 / 3.016 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/6.957, allocations: 50.56 kB / 3.016 GB, free: 112 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/6.957, allocations: 0 / 3.016 GB, free: 112 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006613/6.958, allocations: 265.4 kB / 3.017 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/6.958, allocations: 299 kB / 3.017 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/6.959, allocations: 0.6049 MB / 3.018 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/6.959, allocations: 33.7 kB / 3.018 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/6.959, allocations: 260.2 kB / 3.018 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/6.959, allocations: 35.55 kB / 3.018 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/6.959, allocations: 4 kB / 3.018 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001285/6.959, allocations: 362.8 kB / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/6.959, allocations: 39.97 kB / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/6.96, allocations: 124.5 kB / 3.018 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/6.96, allocations: 51.91 kB / 3.018 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/6.96, allocations: 4 kB / 3.018 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002865/6.96, allocations: 200.7 kB / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/6.96, allocations: 4.188 kB / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/6.96, allocations: 8 kB / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/6.96, allocations: 0 / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/6.96, allocations: 23.98 kB / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/6.96, allocations: 7.938 kB / 3.019 GB, free: 109.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/6.96, allocations: 67.3 kB / 3.019 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/6.96, allocations: 16 kB / 3.019 GB, free: 109.5 MB / 0.7136 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.0001887/6.961, allocations: 197.7 kB / 3.019 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/6.961, allocations: 67.23 kB / 3.019 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/6.961, allocations: 64.33 kB / 3.019 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/6.961, allocations: 4.281 kB / 3.019 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/6.961, allocations: 0 / 3.019 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/6.961, allocations: 4.219 kB / 3.019 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/6.962, allocations: 1.293 MB / 3.02 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/6.962, allocations: 12.17 kB / 3.02 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/6.962, allocations: 27.98 kB / 3.02 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/6.962, allocations: 4 kB / 3.02 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/6.962, allocations: 11.98 kB / 3.02 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/6.962, allocations: 3.938 kB / 3.02 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/6.962, allocations: 4 kB / 3.02 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/6.963, allocations: 445.9 kB / 3.021 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/6.963, allocations: 156.3 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/6.963, allocations: 7.984 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/6.963, allocations: 15.98 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/6.963, allocations: 27.88 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/6.963, allocations: 4 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004515/6.964, allocations: 499 kB / 3.022 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/6.964, allocations: 0 / 3.022 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001057/6.965, allocations: 220 kB / 3.022 GB, free: 106.3 MB / 0.7136 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.002592/6.967, allocations: 2.96 MB / 3.025 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003049/6.968, allocations: 111.8 kB / 3.025 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/6.968, allocations: 4 kB / 3.025 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/6.968, allocations: 60.83 kB / 3.025 GB, free: 103 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/6.969, allocations: 271.2 kB / 3.025 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/6.973, allocations: 3.77 MB / 3.029 GB, free: 98.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/6.973, allocations: 0.9247 MB / 3.03 GB, free: 97.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002839/6.973, allocations: 104.6 kB / 3.03 GB, free: 97.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/6.973, allocations: 167.4 kB / 3.03 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/6.973, allocations: 0 / 3.03 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/7.029, allocations: 36.22 MB / 3.065 GB, free: 61.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/7.029, allocations: 226.7 kB / 3.065 GB, free: 61.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/10.49, allocations: 3.938 kB / 3.065 GB, free: 61.41 MB / 0.7136 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)