Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",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.369/1.369, allocations: 252 MB / 267 MB, free: 10.96 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.001051/0.001051, allocations: 184.7 kB / 326.6 MB, free: 2.227 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.932/1.932, 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.0008526/0.0008527, allocations: 97.94 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8.812 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 106.4 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004708/0.269, allocations: 4.215 MB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.271, allocations: 2.447 MB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.2711, allocations: 8 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.2713, allocations: 35.75 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.2716, allocations: 87.48 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.2724, allocations: 365.9 kB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2726, allocations: 263.9 kB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.2727, allocations: 13.56 kB / 0.9075 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2729, allocations: 103.6 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.273, allocations: 91.64 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.273, allocations: 8 kB / 0.9077 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.2735, allocations: 243.5 kB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.2736, allocations: 35.89 kB / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.2736, allocations: 53.64 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.2739, allocations: 207.8 kB / 0.9083 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2739, allocations: 4 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2739, allocations: 3.938 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.274, allocations: 0 / 0.9083 GB, free: 55.63 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.0006475/0.2746, allocations: 467.2 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2747, allocations: 8.031 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.2747, allocations: 54.48 kB / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2749, allocations: 23.77 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2751, allocations: 210.8 kB / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2751, allocations: 16.33 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2751, allocations: 12 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.2755, allocations: 245.6 kB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2755, allocations: 0 / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2755, allocations: 11.98 kB / 0.9093 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.2755, allocations: 11.95 kB / 0.9093 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.2759, allocations: 431.4 kB / 0.9097 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.2769, allocations: 1.004 MB / 0.9107 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.2771, allocations: 151.1 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.2772, allocations: 60.88 kB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.2783, allocations: 1.833 MB / 0.9127 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2783, allocations: 38.56 kB / 0.9127 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2783, allocations: 0 / 0.9127 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003065/0.2786, allocations: 138.7 kB / 0.9128 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2787, allocations: 51.41 kB / 0.9129 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2788, allocations: 170 kB / 0.913 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2788, allocations: 25.7 kB / 0.9131 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.2789, allocations: 151.7 kB / 0.9132 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2789, allocations: 55.2 kB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.279, allocations: 0 / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.279, allocations: 326.8 kB / 0.9136 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.2791, allocations: 31.98 kB / 0.9136 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.2792, allocations: 137.7 kB / 0.9137 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.2793, allocations: 58.05 kB / 0.9138 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2793, allocations: 0 / 0.9138 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002671/0.2796, allocations: 221.1 kB / 0.914 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2796, allocations: 8 kB / 0.914 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2796, allocations: 4 kB / 0.914 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2796, allocations: 4 kB / 0.914 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2798, allocations: 51.92 kB / 0.9141 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2798, allocations: 7.938 kB / 0.9141 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2799, allocations: 32.17 kB / 0.9141 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.28, allocations: 16 kB / 0.9141 GB, free: 48.93 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.501e-05/0.2801, allocations: 137.7 kB / 0.9142 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.2801, allocations: 19.77 kB / 0.9143 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2804, allocations: 154.9 kB / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2804, allocations: 7.984 kB / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2804, allocations: 0 / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2804, allocations: 0 / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.2806, allocations: 213.5 kB / 0.9146 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2806, allocations: 4 kB / 0.9146 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.2807, allocations: 23.98 kB / 0.9147 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2807, allocations: 3.953 kB / 0.9147 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2807, allocations: 8 kB / 0.9147 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2807, allocations: 4 kB / 0.9147 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2807, allocations: 0 / 0.9147 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.2809, allocations: 224.8 kB / 0.9149 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.281, allocations: 108.8 kB / 0.915 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.281, allocations: 7.953 kB / 0.915 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2812, allocations: 8 kB / 0.915 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.2812, allocations: 11.98 kB / 0.915 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2812, allocations: 11.98 kB / 0.915 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.2813, allocations: 120.8 kB / 0.9151 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2813, allocations: 0 / 0.9151 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003559/0.2817, allocations: 79.98 kB / 0.9152 GB, free: 47.71 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.0005135/0.2822, allocations: 0.8079 MB / 0.916 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.2824, allocations: 116.6 kB / 0.9161 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2824, allocations: 4 kB / 0.9161 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.2825, allocations: 43.92 kB / 0.9162 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.2829, allocations: 63.17 kB / 0.9162 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.2842, allocations: 1.002 MB / 0.9172 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2843, allocations: 0.7172 MB / 0.9179 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.2845, allocations: 49.75 kB / 0.9179 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.2846, allocations: 51.41 kB / 0.918 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2846, allocations: 0 / 0.918 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.3004, allocations: 4.643 MB / 0.9225 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.3006, allocations: 191.2 kB / 0.9227 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.109, allocations: 3.938 kB / 0.9227 GB, free: 39.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)