Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_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.01283/0.01283, allocations: 171.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.22/1.22, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.974/2.974, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001629/0.001629, allocations: 93.73 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007133/0.0007129, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9409, allocations: 82.31 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.51/11.46, allocations: 1.833 GB / 2.483 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004587/11.46, allocations: 89.45 kB / 2.483 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.507/14.96, allocations: 415.7 MB / 2.889 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.689e-06/14.96, allocations: 0 / 2.889 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001687/14.96, allocations: 20.69 kB / 2.889 GB, free: 147.8 MB / 0.6823 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.004807/14.97, allocations: 0.8935 MB / 2.89 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.571e-05/14.97, allocations: 9.75 kB / 2.89 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005153/14.97, allocations: 103.7 kB / 2.89 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/14.97, allocations: 64.91 kB / 2.89 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/14.97, allocations: 429.6 kB / 2.89 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/14.97, allocations: 38.62 kB / 2.89 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/14.97, allocations: 60.77 kB / 2.89 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/14.98, allocations: 0.686 MB / 2.891 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/14.98, allocations: 4.812 kB / 2.891 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/14.98, allocations: 20.53 kB / 2.891 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/14.98, allocations: 32.56 kB / 2.891 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/14.98, allocations: 373.3 kB / 2.891 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005883/14.98, allocations: 3.215 MB / 2.894 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/14.98, allocations: 224.5 kB / 2.895 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/14.98, allocations: 2.031 kB / 2.895 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.391e-05/14.98, allocations: 47.25 kB / 2.895 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 6.041e-06/14.98, allocations: 0 / 2.895 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001525/14.98, allocations: 260.6 kB / 2.895 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/14.99, allocations: 295.4 kB / 2.895 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/14.99, allocations: 0.6059 MB / 2.896 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/14.99, allocations: 29.52 kB / 2.896 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/14.99, allocations: 266.8 kB / 2.896 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/14.99, allocations: 34.91 kB / 2.896 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/14.99, allocations: 7.375 kB / 2.896 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002942/14.99, allocations: 373.4 kB / 2.897 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/14.99, allocations: 37.34 kB / 2.897 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/14.99, allocations: 123.7 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/14.99, allocations: 56.14 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/14.99, allocations: 3.531 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007421/14.99, allocations: 195.1 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/14.99, allocations: 7.031 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/14.99, allocations: 7.094 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/14.99, allocations: 0 / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/14.99, allocations: 22.67 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/14.99, allocations: 3.812 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/14.99, allocations: 74.89 kB / 2.897 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/14.99, allocations: 7.781 kB / 2.897 GB, free: 143.1 MB / 0.6823 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.0004643/14.99, allocations: 213.1 kB / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/14.99, allocations: 57.3 kB / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/14.99, allocations: 66.69 kB / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/14.99, allocations: 3.875 kB / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/14.99, allocations: 3.906 kB / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/14.99, allocations: 0 / 2.897 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/14.99, allocations: 1.302 MB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/14.99, allocations: 3.844 kB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/14.99, allocations: 26.27 kB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/14.99, allocations: 3.906 kB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/14.99, allocations: 0 / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/14.99, allocations: 10.77 kB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/14.99, allocations: 7.312 kB / 2.899 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/15, allocations: 454.3 kB / 2.899 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/15, allocations: 151.3 kB / 2.899 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/15, allocations: 7.156 kB / 2.899 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/15, allocations: 21.36 kB / 2.899 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/15, allocations: 15.61 kB / 2.899 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/15, allocations: 3.938 kB / 2.899 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001106/15, allocations: 499.3 kB / 2.9 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/15, allocations: 2.812 kB / 2.9 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002029/15, allocations: 222.4 kB / 2.9 GB, free: 141.3 MB / 0.6823 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.006369/15.01, allocations: 2.947 MB / 2.903 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008406/15.01, allocations: 112.5 kB / 2.903 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/15.01, allocations: 0 / 2.903 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/15.01, allocations: 68.28 kB / 2.903 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/15.01, allocations: 269.8 kB / 2.903 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/15.02, allocations: 3.775 MB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/15.03, allocations: 0.9162 MB / 2.908 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000959/15.03, allocations: 107.4 kB / 2.908 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/15.03, allocations: 171 kB / 2.908 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.805e-06/15.03, allocations: 0 / 2.908 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/15.19, allocations: 36.19 MB / 2.943 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003817/15.19, allocations: 212.3 kB / 2.944 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.99/21.18, allocations: 0 / 2.944 GB, free: 136.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)