Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4876/0.4876, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 223.1 MB / 354.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.22 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1999, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.679/5.879, allocations: 1.824 GB / 2.392 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/5.879, allocations: 87.95 kB / 2.393 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/7.461, allocations: 415.8 MB / 2.799 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/7.461, allocations: 0 / 2.799 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.844e-05/7.461, allocations: 18.03 kB / 2.799 GB, free: 119.2 MB / 0.6042 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.001986/7.463, allocations: 0.8982 MB / 2.799 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/7.463, allocations: 8.031 kB / 2.799 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/7.463, allocations: 97.64 kB / 2.8 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/7.464, allocations: 67.25 kB / 2.8 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/7.464, allocations: 418.2 kB / 2.8 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/7.464, allocations: 47.69 kB / 2.8 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/7.464, allocations: 55.45 kB / 2.8 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/7.465, allocations: 0.6884 MB / 2.801 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/7.465, allocations: 7.938 kB / 2.801 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/7.465, allocations: 26.56 kB / 2.801 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/7.465, allocations: 30.95 kB / 2.801 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/7.466, allocations: 363.4 kB / 2.801 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/7.468, allocations: 3.218 MB / 2.804 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/7.469, allocations: 227.8 kB / 2.805 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/7.469, allocations: 7.531 kB / 2.805 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/7.469, allocations: 50.39 kB / 2.805 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 4.088e-06/7.469, allocations: 0 / 2.805 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0007721/7.47, allocations: 269.6 kB / 2.805 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/7.47, allocations: 290.7 kB / 2.805 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/7.47, allocations: 0.6088 MB / 2.806 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/7.471, allocations: 29.7 kB / 2.806 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/7.471, allocations: 264.2 kB / 2.806 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/7.471, allocations: 36.08 kB / 2.806 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/7.471, allocations: 0 / 2.806 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001374/7.471, allocations: 370.8 kB / 2.806 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/7.471, allocations: 38.03 kB / 2.806 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/7.471, allocations: 119.3 kB / 2.807 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/7.471, allocations: 54.44 kB / 2.807 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.471, allocations: 0 / 2.807 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004113/7.472, allocations: 210.5 kB / 2.807 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/7.472, allocations: 4 kB / 2.807 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.472, allocations: 7.938 kB / 2.807 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/7.472, allocations: 4 kB / 2.807 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/7.472, allocations: 23.98 kB / 2.807 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/7.472, allocations: 3.938 kB / 2.807 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/7.472, allocations: 62.48 kB / 2.807 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/7.472, allocations: 15.98 kB / 2.807 GB, free: 110.2 MB / 0.6042 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.0002525/7.473, allocations: 203.8 kB / 2.807 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/7.473, allocations: 62.88 kB / 2.807 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.029e-05/7.473, allocations: 64.31 kB / 2.807 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/7.473, allocations: 7.953 kB / 2.807 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/7.473, allocations: 4 kB / 2.807 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/7.473, allocations: 0 / 2.807 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/7.475, allocations: 1.294 MB / 2.808 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/7.475, allocations: 0 / 2.808 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/7.475, allocations: 31.12 kB / 2.809 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/7.475, allocations: 4 kB / 2.809 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/7.475, allocations: 8 kB / 2.809 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/7.475, allocations: 11.92 kB / 2.809 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.475, allocations: 288 / 2.809 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/7.475, allocations: 447.6 kB / 2.809 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/7.475, allocations: 156.3 kB / 2.809 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/7.475, allocations: 10.84 kB / 2.809 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/7.476, allocations: 23.92 kB / 2.809 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/7.476, allocations: 19.36 kB / 2.809 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/7.476, allocations: 4 kB / 2.809 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005097/7.476, allocations: 0.4944 MB / 2.81 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/7.476, allocations: 0 / 2.81 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009708/7.477, allocations: 216 kB / 2.81 GB, free: 107 MB / 0.6042 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.00286/7.48, allocations: 2.951 MB / 2.813 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000328/7.48, allocations: 111.8 kB / 2.813 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.481, allocations: 4.375 kB / 2.813 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/7.481, allocations: 59.89 kB / 2.813 GB, free: 104 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/7.482, allocations: 281.2 kB / 2.813 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/7.486, allocations: 3.766 MB / 2.817 GB, free: 99.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/7.486, allocations: 0.9208 MB / 2.818 GB, free: 98.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003364/7.487, allocations: 109.7 kB / 2.818 GB, free: 98.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/7.487, allocations: 167.4 kB / 2.818 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.293e-06/7.487, allocations: 0 / 2.818 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/7.541, allocations: 36.18 MB / 2.853 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/7.541, allocations: 211 kB / 2.854 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/10.9, allocations: 3.938 kB / 2.854 GB, free: 62.49 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)