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.001826/0.001826, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7764/0.7764, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.603/1.603, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009581/0.0009582, allocations: 87.33 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.828e-05, allocations: 6.484 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.349/5.543, allocations: 1.833 GB / 2.474 GB, free: 99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/5.543, allocations: 87.95 kB / 2.474 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.806/7.35, allocations: 415.4 MB / 2.879 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.182e-06/7.35, allocations: 0 / 2.879 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.282e-05/7.35, allocations: 19.27 kB / 2.879 GB, free: 150.5 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.002021/7.352, allocations: 0.8499 MB / 2.88 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/7.352, allocations: 7.781 kB / 2.88 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/7.352, allocations: 101.8 kB / 2.88 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/7.352, allocations: 78.61 kB / 2.88 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/7.353, allocations: 420.2 kB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/7.353, allocations: 40.58 kB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/7.353, allocations: 54.19 kB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/7.354, allocations: 0.6613 MB / 2.881 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/7.354, allocations: 6.094 kB / 2.881 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/7.354, allocations: 32.23 kB / 2.881 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/7.354, allocations: 26.67 kB / 2.881 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/7.355, allocations: 328.4 kB / 2.882 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/7.357, allocations: 3.215 MB / 2.885 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/7.357, allocations: 213.4 kB / 2.885 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/7.357, allocations: 113.4 kB / 2.885 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/7.358, allocations: 6.219 kB / 2.885 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/7.358, allocations: 46.44 kB / 2.885 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/7.358, allocations: 0 / 2.885 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004724/7.358, allocations: 181.6 kB / 2.885 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/7.358, allocations: 291.8 kB / 2.886 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/7.359, allocations: 0.5972 MB / 2.886 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/7.359, allocations: 32.89 kB / 2.886 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/7.359, allocations: 268.3 kB / 2.887 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/7.359, allocations: 31.81 kB / 2.887 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/7.359, allocations: 3.062 kB / 2.887 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/7.359, allocations: 373.9 kB / 2.887 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/7.359, allocations: 18.34 kB / 2.887 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/7.359, allocations: 105 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/7.359, allocations: 38.95 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/7.359, allocations: 3.594 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002377/7.36, allocations: 167.1 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/7.36, allocations: 7.281 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/7.36, allocations: 6.766 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/7.36, allocations: 3.906 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/7.36, allocations: 21.44 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/7.36, allocations: 3.125 kB / 2.887 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/7.36, allocations: 68.58 kB / 2.887 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/7.36, allocations: 10.91 kB / 2.887 GB, free: 145.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 () * 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 6.955e-05/7.36, allocations: 126.5 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/7.36, allocations: 61.78 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/7.361, allocations: 63.08 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/7.361, allocations: 3.5 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.361, allocations: 3.625 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/7.361, allocations: 3.625 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/7.362, allocations: 1.294 MB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/7.362, allocations: 0 / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/7.362, allocations: 27.02 kB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/7.362, allocations: 3.594 kB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/7.362, allocations: 2.875 kB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/7.362, allocations: 7.797 kB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/7.362, allocations: 5.344 kB / 2.889 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/7.362, allocations: 420.8 kB / 2.889 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/7.363, allocations: 150.8 kB / 2.89 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/7.363, allocations: 7.203 kB / 2.89 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/7.363, allocations: 23.94 kB / 2.89 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/7.363, allocations: 15.42 kB / 2.89 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/7.363, allocations: 10.78 kB / 2.89 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005082/7.363, allocations: 495.2 kB / 2.89 GB, free: 144 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.011e-06/7.363, allocations: 0 / 2.89 GB, free: 144 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009274/7.364, allocations: 221.6 kB / 2.89 GB, free: 144 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.003264/7.368, allocations: 2.91 MB / 2.893 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000211/7.368, allocations: 77.11 kB / 2.893 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/7.368, allocations: 0 / 2.893 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/7.368, allocations: 52.22 kB / 2.893 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/7.369, allocations: 277.1 kB / 2.893 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/7.371, allocations: 0.8008 MB / 2.894 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/7.371, allocations: 0.9177 MB / 2.895 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003468/7.372, allocations: 103.2 kB / 2.895 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/7.372, allocations: 173.6 kB / 2.895 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/7.372, allocations: 0 / 2.895 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/7.45, allocations: 39.93 MB / 2.934 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/7.45, allocations: 181.8 kB / 2.935 GB, free: 138 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/10.63, allocations: 3.938 kB / 2.935 GB, free: 137.9 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)