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.01252/0.01252, allocations: 171.6 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 0.9417/0.9417, 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 1.781/1.781, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.00104/0.00104, allocations: 90.42 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006061/0.0006059, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5458, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.183/5.729, allocations: 1.833 GB / 2.483 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/5.73, allocations: 87.95 kB / 2.483 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.308/7.038, allocations: 415.7 MB / 2.889 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/7.038, allocations: 4 kB / 2.889 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.594e-05/7.038, allocations: 20 kB / 2.889 GB, free: 2.707 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.001722/7.04, allocations: 0.8965 MB / 2.89 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/7.04, allocations: 8.031 kB / 2.89 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.906e-05/7.04, allocations: 100 kB / 2.89 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/7.04, allocations: 71.16 kB / 2.89 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/7.041, allocations: 427.6 kB / 2.89 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/7.041, allocations: 41.31 kB / 2.89 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/7.041, allocations: 55.98 kB / 2.89 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/7.042, allocations: 0.6872 MB / 2.891 GB, free: 260 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/7.042, allocations: 8 kB / 2.891 GB, free: 252 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/7.042, allocations: 27.98 kB / 2.891 GB, free: 224 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/7.042, allocations: 27.92 kB / 2.891 GB, free: 196 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5449/7.587, allocations: 362 kB / 2.891 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/7.591, allocations: 3.207 MB / 2.894 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/7.591, allocations: 230.7 kB / 2.895 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/7.591, allocations: 3.734 kB / 2.895 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/7.591, allocations: 46.05 kB / 2.895 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 4.789e-06/7.591, allocations: 2.875 kB / 2.895 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0009376/7.592, allocations: 265.4 kB / 2.895 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/7.592, allocations: 293.6 kB / 2.895 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/7.593, allocations: 0.6038 MB / 2.896 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/7.593, allocations: 32.89 kB / 2.896 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/7.594, allocations: 267 kB / 2.896 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/7.594, allocations: 30.38 kB / 2.896 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/7.594, allocations: 0.5312 kB / 2.896 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001676/7.594, allocations: 370.8 kB / 2.897 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/7.594, allocations: 40.12 kB / 2.897 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/7.594, allocations: 121.8 kB / 2.897 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/7.594, allocations: 52.88 kB / 2.897 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/7.594, allocations: 1.094 kB / 2.897 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004431/7.595, allocations: 208.3 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/7.595, allocations: 9.5 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/7.595, allocations: 2.453 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/7.595, allocations: 2.656 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/7.595, allocations: 34.05 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/7.595, allocations: 2.312 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/7.596, allocations: 65.31 kB / 2.897 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/7.596, allocations: 11.47 kB / 2.897 GB, free: 141.7 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.0003151/7.596, allocations: 205.8 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/7.596, allocations: 63.84 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/7.596, allocations: 59.94 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/7.596, allocations: 4.266 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/7.596, allocations: 5.438 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/7.596, allocations: 3.094 kB / 2.897 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/7.598, allocations: 1.291 MB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/7.598, allocations: 3.078 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/7.598, allocations: 27.41 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/7.598, allocations: 6.312 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/7.598, allocations: 9.281 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/7.598, allocations: 3.781 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/7.598, allocations: 6.594 kB / 2.899 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/7.599, allocations: 451.5 kB / 2.899 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/7.599, allocations: 150.2 kB / 2.899 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/7.599, allocations: 17.14 kB / 2.899 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/7.599, allocations: 24.47 kB / 2.899 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/7.599, allocations: 8.031 kB / 2.899 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/7.599, allocations: 5.531 kB / 2.899 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006786/7.6, allocations: 0.4922 MB / 2.9 GB, free: 140 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.6, allocations: 0 / 2.9 GB, free: 140 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001273/7.601, allocations: 218.8 kB / 2.9 GB, free: 140 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.003701/7.605, allocations: 2.946 MB / 2.903 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004009/7.606, allocations: 110 kB / 2.903 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/7.606, allocations: 0 / 2.903 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/7.606, allocations: 68.2 kB / 2.903 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/7.607, allocations: 278 kB / 2.903 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/7.612, allocations: 3.767 MB / 2.907 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/7.613, allocations: 0.9134 MB / 2.908 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004625/7.613, allocations: 101.8 kB / 2.908 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/7.613, allocations: 168 kB / 2.908 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/7.613, allocations: 3.844 kB / 2.908 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07178/7.685, allocations: 36.19 MB / 2.943 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/7.686, allocations: 215.3 kB / 2.944 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.381/11.07, allocations: 3.906 kB / 2.944 GB, free: 135.2 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)