Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009711/0.0009712, allocations: 175.2 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5777 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008081/0.0008083, allocations: 92.23 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 9.094 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2653, allocations: 106.3 MB / 0.9003 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004439/0.2698, allocations: 3.935 MB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.2718, allocations: 2.463 MB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.2719, allocations: 3.938 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.2722, allocations: 43.73 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.2724, allocations: 83.48 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.2732, allocations: 374.7 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2734, allocations: 263.9 kB / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.2735, allocations: 9.547 kB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008608/0.2743, allocations: 399 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2744, allocations: 87.66 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2745, allocations: 4 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007012/0.2752, allocations: 387.2 kB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.2752, allocations: 35.89 kB / 0.9081 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2753, allocations: 53.64 kB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.2756, allocations: 211.7 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2756, allocations: 0 / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2756, allocations: 0 / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2756, allocations: 0 / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007048/0.2763, allocations: 467.2 kB / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2764, allocations: 12.02 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.2764, allocations: 50.55 kB / 0.9089 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2766, allocations: 23.77 kB / 0.9089 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.2768, allocations: 206.8 kB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2768, allocations: 16.33 kB / 0.9091 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2768, allocations: 16 kB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.2772, allocations: 241.6 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2772, allocations: 4 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2772, allocations: 11.98 kB / 0.9094 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.2773, allocations: 11.95 kB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.2776, allocations: 427.4 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.2785, allocations: 0.996 MB / 0.9108 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2787, allocations: 154.1 kB / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.2788, allocations: 73.47 kB / 0.911 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.2799, allocations: 1.821 MB / 0.9128 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2799, allocations: 38.5 kB / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2799, allocations: 0 / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003112/0.2802, allocations: 147 kB / 0.913 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2803, allocations: 55.41 kB / 0.913 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2804, allocations: 166.1 kB / 0.9132 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2804, allocations: 33.7 kB / 0.9132 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.2805, allocations: 135.8 kB / 0.9133 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2805, allocations: 55.27 kB / 0.9134 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.2806, allocations: 8 kB / 0.9134 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2806, allocations: 322.8 kB / 0.9137 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.2807, allocations: 35.98 kB / 0.9137 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/0.2808, allocations: 137.6 kB / 0.9139 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.279e-05/0.2809, allocations: 65.19 kB / 0.9139 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2809, allocations: 0 / 0.9139 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002533/0.2812, allocations: 213 kB / 0.9141 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2812, allocations: 11.44 kB / 0.9141 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2812, allocations: 11.98 kB / 0.9142 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2812, allocations: 4 kB / 0.9142 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2814, allocations: 59.91 kB / 0.9142 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2814, allocations: 7.938 kB / 0.9142 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2815, allocations: 19.75 kB / 0.9142 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2816, allocations: 16 kB / 0.9143 GB, free: 48.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.862e-05/0.2817, allocations: 133.7 kB / 0.9144 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.2817, allocations: 19.77 kB / 0.9144 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.282, allocations: 161.6 kB / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.282, allocations: 4 kB / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.282, allocations: 0 / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.282, allocations: 0 / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.2822, allocations: 217.4 kB / 0.9148 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2822, allocations: 0 / 0.9148 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.2823, allocations: 31.92 kB / 0.9148 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2823, allocations: 3.953 kB / 0.9148 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2823, allocations: 4 kB / 0.9148 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2823, allocations: 0 / 0.9148 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2824, allocations: 4 kB / 0.9148 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.2825, allocations: 211.3 kB / 0.915 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.2826, allocations: 104.9 kB / 0.9151 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2827, allocations: 11.94 kB / 0.9151 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2828, allocations: 12 kB / 0.9151 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.2829, allocations: 11.98 kB / 0.9152 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2829, allocations: 15.92 kB / 0.9152 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.283, allocations: 120.9 kB / 0.9153 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.283, allocations: 0 / 0.9153 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003294/0.2833, allocations: 75.91 kB / 0.9154 GB, free: 47.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005253/0.2838, allocations: 0.8167 MB / 0.9162 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.2841, allocations: 119.8 kB / 0.9163 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2841, allocations: 0 / 0.9163 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.2841, allocations: 43.92 kB / 0.9163 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.2846, allocations: 56.84 kB / 0.9164 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2858, allocations: 1.002 MB / 0.9173 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.286, allocations: 0.721 MB / 0.918 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.2862, allocations: 45.69 kB / 0.9181 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.2863, allocations: 51.36 kB / 0.9181 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2863, allocations: 0 / 0.9181 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.3019, allocations: 4.659 MB / 0.9227 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.3021, allocations: 200.6 kB / 0.9229 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.213, allocations: 0 / 0.9229 GB, free: 39.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)