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.002032/0.002032, allocations: 175 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.7619/0.7619, 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.615/1.615, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.001241/0.001241, allocations: 101.7 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.948e-05, allocations: 7.312 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/5.634, allocations: 1.833 GB / 2.474 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/5.634, allocations: 88 kB / 2.474 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.826/7.46, allocations: 415.4 MB / 2.879 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.484e-06/7.46, allocations: 5.516 kB / 2.879 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.215e-05/7.46, allocations: 22.69 kB / 2.879 GB, free: 154.2 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.002084/7.462, allocations: 0.8456 MB / 2.88 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/7.462, allocations: 10.19 kB / 2.88 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/7.462, allocations: 98.72 kB / 2.88 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/7.463, allocations: 76.52 kB / 2.88 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/7.464, allocations: 419.6 kB / 2.881 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/7.464, allocations: 45.5 kB / 2.881 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/7.464, allocations: 51.38 kB / 2.881 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/7.465, allocations: 0.6654 MB / 2.881 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/7.465, allocations: 1.594 kB / 2.881 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/7.465, allocations: 24.91 kB / 2.881 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.318e-05/7.465, allocations: 40.41 kB / 2.881 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/7.466, allocations: 328.8 kB / 2.882 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/7.468, allocations: 3.214 MB / 2.885 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/7.468, allocations: 209.2 kB / 2.885 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/7.468, allocations: 111.1 kB / 2.885 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/7.468, allocations: 10.44 kB / 2.885 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/7.468, allocations: 47.3 kB / 2.885 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/7.468, allocations: 0 / 2.885 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004773/7.469, allocations: 178.9 kB / 2.885 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/7.469, allocations: 296.1 kB / 2.886 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/7.47, allocations: 0.5996 MB / 2.886 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/7.47, allocations: 33.53 kB / 2.886 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/7.47, allocations: 269.7 kB / 2.887 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/7.47, allocations: 29.88 kB / 2.887 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/7.47, allocations: 0 / 2.887 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001143/7.47, allocations: 377.7 kB / 2.887 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/7.47, allocations: 17.28 kB / 2.887 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/7.47, allocations: 106.5 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/7.47, allocations: 39.3 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/7.47, allocations: 0 / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/7.471, allocations: 167.3 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/7.471, allocations: 3.906 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/7.471, allocations: 6.375 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/7.471, allocations: 0 / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/7.471, allocations: 23.34 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/7.471, allocations: 3.281 kB / 2.887 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/7.471, allocations: 73.16 kB / 2.887 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/7.471, allocations: 10.41 kB / 2.887 GB, free: 149.3 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.755e-05/7.471, allocations: 112.1 kB / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/7.471, allocations: 65.25 kB / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/7.472, allocations: 60.95 kB / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/7.472, allocations: 7.844 kB / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/7.472, allocations: 3.969 kB / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/7.472, allocations: 0 / 2.888 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/7.473, allocations: 1.29 MB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.473, allocations: 6.828 kB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/7.473, allocations: 28.62 kB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/7.473, allocations: 3.875 kB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/7.473, allocations: 11.86 kB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/7.473, allocations: 10.67 kB / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/7.473, allocations: 0 / 2.889 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/7.473, allocations: 414.3 kB / 2.889 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/7.474, allocations: 153.5 kB / 2.89 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/7.474, allocations: 11.72 kB / 2.89 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/7.474, allocations: 23.06 kB / 2.89 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/7.474, allocations: 15.36 kB / 2.89 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/7.474, allocations: 13.78 kB / 2.89 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005223/7.474, allocations: 492 kB / 2.89 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/7.474, allocations: 0 / 2.89 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009338/7.475, allocations: 218.2 kB / 2.89 GB, free: 147.6 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.002801/7.478, allocations: 2.915 MB / 2.893 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000183/7.478, allocations: 76.08 kB / 2.893 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/7.478, allocations: 0 / 2.893 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/7.479, allocations: 51.44 kB / 2.893 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/7.48, allocations: 268 kB / 2.893 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/7.481, allocations: 0.7974 MB / 2.894 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/7.481, allocations: 0.918 MB / 2.895 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002985/7.482, allocations: 105.2 kB / 2.895 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/7.482, allocations: 168.6 kB / 2.895 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/7.482, allocations: 3.25 kB / 2.895 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/7.554, allocations: 39.93 MB / 2.934 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/7.554, allocations: 188.3 kB / 2.935 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/10.78, allocations: 0 / 2.935 GB, free: 132.5 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)