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.654/1.654, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001352/0.001353, allocations: 181.3 kB / 326.5 MB, free: 2.246 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.784/1.784, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009195/0.0009195, allocations: 93.66 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 5.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004293/0.2455, allocations: 3.943 MB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.2476, allocations: 2.14 MB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2478, allocations: 4 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.2481, allocations: 47.72 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.2484, allocations: 71.77 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2497, allocations: 392.8 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2498, allocations: 152.7 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.2499, allocations: 9.562 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.2501, allocations: 95.72 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2502, allocations: 75.69 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2503, allocations: 4 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.2508, allocations: 275.6 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.2509, allocations: 35.91 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.2509, allocations: 53.64 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.2513, allocations: 203.8 kB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2513, allocations: 3.938 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2513, allocations: 0 / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2513, allocations: 4 kB / 0.9074 GB, free: 56.36 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.0006816/0.252, allocations: 467.2 kB / 0.9079 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.252, allocations: 8.031 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.2521, allocations: 54.53 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2522, allocations: 31.77 kB / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2525, allocations: 214.8 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2525, allocations: 12.33 kB / 0.9082 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.2525, allocations: 12 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.2529, allocations: 241.6 kB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2529, allocations: 8 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2529, allocations: 4 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.2529, allocations: 11.95 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.2533, allocations: 431.5 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.2543, allocations: 1.027 MB / 0.9099 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.2546, allocations: 160.6 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009947/0.2556, allocations: 1.844 MB / 0.9118 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2556, allocations: 34.56 kB / 0.9119 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2556, allocations: 0 / 0.9119 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.000282/0.2559, allocations: 143 kB / 0.912 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2559, allocations: 55.34 kB / 0.912 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.256, allocations: 174 kB / 0.9122 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2561, allocations: 29.7 kB / 0.9122 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.2561, allocations: 139.8 kB / 0.9124 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.2562, allocations: 55.19 kB / 0.9124 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.2562, allocations: 8 kB / 0.9124 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.2563, allocations: 322.8 kB / 0.9127 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.2563, allocations: 35.97 kB / 0.9128 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.2564, allocations: 133.7 kB / 0.9129 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.662e-05/0.2565, allocations: 55.92 kB / 0.913 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2565, allocations: 4 kB / 0.913 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002654/0.2568, allocations: 219.7 kB / 0.9132 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2568, allocations: 8 kB / 0.9132 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2568, allocations: 4 kB / 0.9132 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2568, allocations: 7.984 kB / 0.9132 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.257, allocations: 59.91 kB / 0.9132 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.257, allocations: 4.469 kB / 0.9133 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2571, allocations: 31.75 kB / 0.9133 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2572, allocations: 12 kB / 0.9133 GB, free: 49.67 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.721e-05/0.2573, allocations: 133.7 kB / 0.9134 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.2573, allocations: 19.77 kB / 0.9134 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.2576, allocations: 158.8 kB / 0.9136 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2576, allocations: 4 kB / 0.9136 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2576, allocations: 0 / 0.9136 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2576, allocations: 4 kB / 0.9136 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2578, allocations: 209.6 kB / 0.9138 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2578, allocations: 0 / 0.9138 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2579, allocations: 27.98 kB / 0.9138 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.258, allocations: 3.953 kB / 0.9138 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.258, allocations: 8 kB / 0.9138 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.258, allocations: 0 / 0.9138 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.258, allocations: 3.938 kB / 0.9138 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2582, allocations: 219.3 kB / 0.914 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.2583, allocations: 120.8 kB / 0.9142 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2583, allocations: 3.953 kB / 0.9142 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.2585, allocations: 16 kB / 0.9142 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.2585, allocations: 11.92 kB / 0.9142 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2585, allocations: 11.98 kB / 0.9142 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.2586, allocations: 116.9 kB / 0.9143 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 0 / 0.9143 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003464/0.259, allocations: 72 kB / 0.9144 GB, free: 48.45 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.0004728/0.2594, allocations: 0.8208 MB / 0.9152 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2596, allocations: 119.8 kB / 0.9153 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2596, allocations: 0 / 0.9153 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.2597, allocations: 43.92 kB / 0.9153 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2601, allocations: 56.62 kB / 0.9154 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2617, allocations: 3.251 MB / 0.9186 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2619, allocations: 0.7208 MB / 0.9193 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.262, allocations: 45.8 kB / 0.9193 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.2621, allocations: 47.41 kB / 0.9194 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2621, allocations: 0 / 0.9194 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.2783, allocations: 4.626 MB / 0.9239 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.2785, allocations: 178.5 kB / 0.9241 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.999, allocations: 0 / 0.9241 GB, free: 38.49 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)