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.001488/0.001489, allocations: 180.9 kB / 7.65 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.871/0.871, allocations: 133.6 MB / 141.6 MB, free: 2.945 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.523/1.523, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001036/0.001036, allocations: 93.34 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.591e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5368, allocations: 82.29 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.468/6.005, allocations: 1.832 GB / 2.466 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.005, allocations: 83.95 kB / 2.466 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.373/7.378, allocations: 410 MB / 2.867 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/7.378, allocations: 0 / 2.867 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001025/7.379, allocations: 23.98 kB / 2.867 GB, free: 63.66 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.002289/7.381, allocations: 0.8459 MB / 2.868 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/7.381, allocations: 12.03 kB / 2.868 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/7.381, allocations: 69.56 kB / 2.868 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/7.382, allocations: 428.7 kB / 2.868 GB, free: 62.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/7.382, allocations: 19.95 kB / 2.868 GB, free: 62.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/7.382, allocations: 35.98 kB / 2.868 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006192/7.383, allocations: 278.5 kB / 2.868 GB, free: 61.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/7.384, allocations: 0.5802 MB / 2.869 GB, free: 61.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/7.384, allocations: 7.938 kB / 2.869 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/7.384, allocations: 0 / 2.869 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/7.384, allocations: 35.92 kB / 2.869 GB, free: 61.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/7.386, allocations: 2.976 MB / 2.872 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/7.387, allocations: 202.2 kB / 2.872 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/7.387, allocations: 108.6 kB / 2.872 GB, free: 57.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/7.387, allocations: 11.98 kB / 2.872 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/7.387, allocations: 42.5 kB / 2.872 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 4.498e-06/7.387, allocations: 3.984 kB / 2.872 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004808/7.387, allocations: 133.5 kB / 2.872 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/7.387, allocations: 294.7 kB / 2.873 GB, free: 57.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/7.388, allocations: 217.2 kB / 2.873 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/7.388, allocations: 33.64 kB / 2.873 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/7.388, allocations: 311.7 kB / 2.873 GB, free: 56.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/7.388, allocations: 27.56 kB / 2.873 GB, free: 56.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/7.388, allocations: 0 / 2.873 GB, free: 56.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/7.388, allocations: 338.8 kB / 2.874 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/7.388, allocations: 19.98 kB / 2.874 GB, free: 56.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/7.388, allocations: 100.5 kB / 2.874 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/7.388, allocations: 39.91 kB / 2.874 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.388, allocations: 0 / 2.874 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/7.388, allocations: 121.4 kB / 2.874 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/7.388, allocations: 8 kB / 2.874 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/7.388, allocations: 0 / 2.874 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/7.388, allocations: 4 kB / 2.874 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/7.389, allocations: 23.92 kB / 2.874 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/7.389, allocations: 4 kB / 2.874 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/7.389, allocations: 31.95 kB / 2.874 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/7.389, allocations: 12 kB / 2.874 GB, free: 55.77 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 9.028e-05/7.389, allocations: 108.9 kB / 2.874 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003227/7.389, allocations: 137.4 kB / 2.874 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/7.389, allocations: 31.78 kB / 2.874 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/7.389, allocations: 33.34 kB / 2.874 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/7.389, allocations: 4 kB / 2.874 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/7.389, allocations: 7.953 kB / 2.874 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/7.389, allocations: 0 / 2.874 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/7.391, allocations: 1.215 MB / 2.875 GB, free: 54.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/7.391, allocations: 4 kB / 2.875 GB, free: 54.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.451e-05/7.391, allocations: 23.98 kB / 2.875 GB, free: 54.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/7.391, allocations: 4.281 kB / 2.875 GB, free: 54.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/7.391, allocations: 4 kB / 2.875 GB, free: 54.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/7.391, allocations: 7.938 kB / 2.875 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/7.391, allocations: 4 kB / 2.875 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/7.391, allocations: 378.2 kB / 2.876 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/7.391, allocations: 108.8 kB / 2.876 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/7.391, allocations: 7.984 kB / 2.876 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/7.391, allocations: 19.98 kB / 2.876 GB, free: 53.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/7.392, allocations: 19.88 kB / 2.876 GB, free: 53.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/7.392, allocations: 11.94 kB / 2.876 GB, free: 53.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00017/7.392, allocations: 176.6 kB / 2.876 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.392, allocations: 0 / 2.876 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001061/7.393, allocations: 211.3 kB / 2.876 GB, free: 53.08 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.004279/7.397, allocations: 3.069 MB / 2.879 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002381/7.397, allocations: 67.91 kB / 2.879 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/7.397, allocations: 0 / 2.879 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/7.397, allocations: 47.86 kB / 2.879 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/7.398, allocations: 91.31 kB / 2.88 GB, free: 49.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/7.4, allocations: 0.732 MB / 2.88 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/7.4, allocations: 0.9233 MB / 2.881 GB, free: 47.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001617/7.4, allocations: 57.98 kB / 2.881 GB, free: 47.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/7.4, allocations: 155.4 kB / 2.881 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/7.4, allocations: 0 / 2.881 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/7.454, allocations: 17.8 MB / 2.899 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/7.454, allocations: 164.1 kB / 2.899 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/9.951, allocations: 0 / 2.899 GB, free: 29.75 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)