Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_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.001939/0.00194, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7744/0.7744, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0009784/0.0009784, allocations: 96.05 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.118e-05, allocations: 4 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5511, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.726/6.278, allocations: 1.832 GB / 2.466 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/6.278, allocations: 88.14 kB / 2.466 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.336/7.614, allocations: 410 MB / 2.867 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/7.614, allocations: 0 / 2.867 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.478e-05/7.614, allocations: 24.2 kB / 2.867 GB, free: 33.08 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.002334/7.616, allocations: 0.853 MB / 2.868 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/7.617, allocations: 11.97 kB / 2.868 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/7.617, allocations: 69.14 kB / 2.868 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/7.618, allocations: 424.5 kB / 2.868 GB, free: 31.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/7.618, allocations: 19.98 kB / 2.868 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/7.618, allocations: 35.98 kB / 2.868 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005653/7.618, allocations: 278.5 kB / 2.868 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/7.619, allocations: 0.584 MB / 2.869 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/7.619, allocations: 7.938 kB / 2.869 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/7.619, allocations: 4 kB / 2.869 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/7.619, allocations: 31.92 kB / 2.869 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/7.622, allocations: 2.99 MB / 2.872 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/7.622, allocations: 198.6 kB / 2.872 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/7.622, allocations: 112.6 kB / 2.872 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/7.622, allocations: 4 kB / 2.872 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/7.622, allocations: 50.5 kB / 2.872 GB, free: 27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.516e-06/7.622, allocations: 3.984 kB / 2.872 GB, free: 27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004253/7.622, allocations: 137.1 kB / 2.872 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/7.623, allocations: 286.7 kB / 2.873 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/7.623, allocations: 225.5 kB / 2.873 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/7.623, allocations: 29.7 kB / 2.873 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/7.623, allocations: 291.6 kB / 2.873 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/7.623, allocations: 35.55 kB / 2.873 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-06/7.623, allocations: 0 / 2.873 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/7.623, allocations: 330.8 kB / 2.874 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/7.623, allocations: 27.98 kB / 2.874 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/7.623, allocations: 100.5 kB / 2.874 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/7.623, allocations: 27.98 kB / 2.874 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/7.623, allocations: 0 / 2.874 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/7.623, allocations: 129.2 kB / 2.874 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/7.623, allocations: 4 kB / 2.874 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/7.623, allocations: 0 / 2.874 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/7.623, allocations: 4 kB / 2.874 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/7.624, allocations: 24.31 kB / 2.874 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/7.624, allocations: 7.891 kB / 2.874 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/7.624, allocations: 36 kB / 2.874 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/7.624, allocations: 12.22 kB / 2.874 GB, free: 25.19 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 () * 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 7.214e-05/7.624, allocations: 110.7 kB / 2.874 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002852/7.624, allocations: 141.2 kB / 2.874 GB, free: 24.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/7.624, allocations: 31.56 kB / 2.874 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/7.624, allocations: 37.25 kB / 2.874 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/7.624, allocations: 0 / 2.874 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/7.624, allocations: 4 kB / 2.874 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/7.624, allocations: 4 kB / 2.874 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/7.625, allocations: 1.216 MB / 2.875 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/7.625, allocations: 3.938 kB / 2.875 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/7.626, allocations: 28.27 kB / 2.875 GB, free: 23.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/7.626, allocations: 4 kB / 2.875 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/7.626, allocations: 4 kB / 2.875 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/7.626, allocations: 7.984 kB / 2.875 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/7.626, allocations: 3.938 kB / 2.875 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/7.626, allocations: 378.2 kB / 2.876 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/7.626, allocations: 104.8 kB / 2.876 GB, free: 22.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/7.626, allocations: 4 kB / 2.876 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/7.626, allocations: 23.94 kB / 2.876 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/7.626, allocations: 11.98 kB / 2.876 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/7.626, allocations: 8 kB / 2.876 GB, free: 22.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001221/7.626, allocations: 176.6 kB / 2.876 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/7.626, allocations: 3.938 kB / 2.876 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008351/7.627, allocations: 215.3 kB / 2.876 GB, free: 22.48 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 () * 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.002544/7.63, allocations: 3.058 MB / 2.879 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001734/7.63, allocations: 71.84 kB / 2.879 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/7.63, allocations: 0 / 2.879 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/7.63, allocations: 40.73 kB / 2.879 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/7.631, allocations: 103.4 kB / 2.88 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/7.632, allocations: 0.7317 MB / 2.88 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/7.632, allocations: 0.9194 MB / 2.881 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001239/7.632, allocations: 50.02 kB / 2.881 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/7.632, allocations: 167.3 kB / 2.881 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/7.632, allocations: 0 / 2.881 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5215/8.154, allocations: 17.79 MB / 2.899 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/8.154, allocations: 158.6 kB / 2.899 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/10.57, allocations: 0 / 2.899 GB, free: 148.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)