Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005797/0.0005798, allocations: 20.47 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.248, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004488/0.2526, allocations: 4.2 MB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2549, allocations: 2.467 MB / 0.7939 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.255, allocations: 0 / 0.7939 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.2552, allocations: 31.75 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.2554, allocations: 95.47 kB / 0.794 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.2562, allocations: 386 kB / 0.7944 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.2564, allocations: 267.9 kB / 0.7946 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.2565, allocations: 9.562 kB / 0.7946 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2566, allocations: 111.6 kB / 0.7948 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2568, allocations: 87.66 kB / 0.7948 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2568, allocations: 8 kB / 0.7948 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.2573, allocations: 239.5 kB / 0.7951 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.2574, allocations: 35.89 kB / 0.7951 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.2574, allocations: 57.58 kB / 0.7952 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2578, allocations: 215.8 kB / 0.7954 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2578, allocations: 4 kB / 0.7954 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2578, allocations: 0 / 0.7954 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2578, allocations: 0 / 0.7954 GB, free: 3.637 MB / 0.6075 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.0005977/0.2584, allocations: 463.1 kB / 0.7958 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2585, allocations: 12.03 kB / 0.7958 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.2585, allocations: 50.55 kB / 0.7959 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.2587, allocations: 23.84 kB / 0.7959 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2589, allocations: 214.7 kB / 0.7961 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2589, allocations: 16.31 kB / 0.7961 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2589, allocations: 16 kB / 0.7961 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.2593, allocations: 244 kB / 0.7964 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2593, allocations: 7.922 kB / 0.7964 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2593, allocations: 8 kB / 0.7964 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.2594, allocations: 8 kB / 0.7964 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2599, allocations: 427.4 kB / 0.7968 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.261, allocations: 0.9449 MB / 0.7977 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2612, allocations: 161.9 kB / 0.7979 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2613, allocations: 60.88 kB / 0.7979 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.2627, allocations: 1.825 MB / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2628, allocations: 38.56 kB / 0.7997 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.2628, allocations: 0 / 0.7997 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003197/0.2631, allocations: 149.3 kB / 0.7999 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.2632, allocations: 51.41 kB / 0.7999 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2633, allocations: 167.3 kB / 0.8001 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2634, allocations: 25.7 kB / 0.8001 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.2635, allocations: 143.7 kB / 0.8003 GB, free: 14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.2635, allocations: 55.22 kB / 0.8003 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.2635, allocations: 4 kB / 0.8003 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2637, allocations: 330.8 kB / 0.8006 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.2637, allocations: 39.97 kB / 0.8007 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2639, allocations: 140.3 kB / 0.8008 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.264, allocations: 59.92 kB / 0.8009 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.264, allocations: 0 / 0.8009 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003049/0.2643, allocations: 217.4 kB / 0.8011 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2643, allocations: 8 kB / 0.8011 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2643, allocations: 8 kB / 0.8011 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2643, allocations: 4 kB / 0.8011 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2645, allocations: 55.91 kB / 0.8011 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2645, allocations: 8 kB / 0.8011 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2647, allocations: 31.62 kB / 0.8012 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2647, allocations: 12 kB / 0.8012 GB, free: 12.98 MB / 0.6231 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 0.0001064/0.2648, allocations: 137.8 kB / 0.8013 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2649, allocations: 15.86 kB / 0.8013 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.2651, allocations: 150.9 kB / 0.8015 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.2651, allocations: 4 kB / 0.8015 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2652, allocations: 0 / 0.8015 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2652, allocations: 0 / 0.8015 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2654, allocations: 221.4 kB / 0.8017 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2654, allocations: 0 / 0.8017 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.2655, allocations: 27.92 kB / 0.8017 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.2655, allocations: 3.953 kB / 0.8017 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2655, allocations: 8 kB / 0.8017 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2655, allocations: 4 kB / 0.8017 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2655, allocations: 0 / 0.8017 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2658, allocations: 213.8 kB / 0.8019 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.2659, allocations: 108.9 kB / 0.802 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.2659, allocations: 3.953 kB / 0.802 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2661, allocations: 12 kB / 0.8021 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.2661, allocations: 15.97 kB / 0.8021 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.2661, allocations: 15.98 kB / 0.8021 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.406e-05/0.2662, allocations: 115.9 kB / 0.8022 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.784e-06/0.2662, allocations: 0 / 0.8022 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003508/0.2666, allocations: 79.88 kB / 0.8023 GB, free: 11.77 MB / 0.6231 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.0006297/0.2672, allocations: 0.8176 MB / 0.8031 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.2674, allocations: 114.9 kB / 0.8032 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2674, allocations: 0.9375 kB / 0.8032 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.2675, allocations: 43.92 kB / 0.8032 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.268, allocations: 59.91 kB / 0.8033 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2696, allocations: 1.007 MB / 0.8043 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2699, allocations: 0.7133 MB / 0.805 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.2701, allocations: 41.81 kB / 0.805 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.2701, allocations: 51.42 kB / 0.8051 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2701, allocations: 0 / 0.8051 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2854, allocations: 4.724 MB / 0.8097 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.2855, allocations: 168.9 kB / 0.8098 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.149, allocations: 0 / 0.8098 GB, free: 3.973 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: