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.002034/0.002034, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002367/0.002366, allocations: 187.8 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001471/0.001471, allocations: 70.16 kB / 0.6717 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006101/0.2464, allocations: 4.713 MB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.2491, allocations: 2.679 MB / 0.7908 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.2492, allocations: 0 / 0.7908 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2495, allocations: 43.69 kB / 0.7909 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2498, allocations: 95.41 kB / 0.791 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2509, allocations: 492.5 kB / 0.7914 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.2511, allocations: 224 kB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.2512, allocations: 9.562 kB / 0.7917 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.2514, allocations: 123.5 kB / 0.7918 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2515, allocations: 87.67 kB / 0.7919 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2516, allocations: 11.94 kB / 0.7919 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.2522, allocations: 347.4 kB / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.2523, allocations: 39.83 kB / 0.7922 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.2524, allocations: 83.64 kB / 0.7923 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.2529, allocations: 343.4 kB / 0.7926 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2529, allocations: 3.938 kB / 0.7926 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2529, allocations: 0 / 0.7926 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2529, allocations: 0 / 0.7926 GB, free: 3.977 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.0006773/0.2536, allocations: 0.4992 MB / 0.7931 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2537, allocations: 12.03 kB / 0.7931 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.2537, allocations: 50.73 kB / 0.7932 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2539, allocations: 24.75 kB / 0.7932 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.2542, allocations: 208.1 kB / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2542, allocations: 12.7 kB / 0.7934 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2542, allocations: 12.38 kB / 0.7934 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.2546, allocations: 255.9 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2547, allocations: 0 / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2547, allocations: 8 kB / 0.7937 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.2547, allocations: 4 kB / 0.7937 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.2552, allocations: 431.5 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2564, allocations: 0.9448 MB / 0.795 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.2567, allocations: 166.5 kB / 0.7952 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.2568, allocations: 64.16 kB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.2582, allocations: 1.833 MB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2582, allocations: 30.56 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2583, allocations: 0 / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003318/0.2586, allocations: 155.6 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2586, allocations: 51.41 kB / 0.7973 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2588, allocations: 164.4 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2588, allocations: 37.64 kB / 0.7975 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.2589, allocations: 143.8 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.259, allocations: 55.2 kB / 0.7976 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.259, allocations: 49.7 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2592, allocations: 322.8 kB / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.2592, allocations: 43.97 kB / 0.798 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2594, allocations: 141.7 kB / 0.7982 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.2596, allocations: 204.7 kB / 0.7984 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2596, allocations: 0 / 0.7984 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003088/0.2599, allocations: 217.1 kB / 0.7986 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2599, allocations: 8 kB / 0.7986 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.26, allocations: 4 kB / 0.7986 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.26, allocations: 7.938 kB / 0.7986 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2601, allocations: 51.92 kB / 0.7987 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2602, allocations: 11.92 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2603, allocations: 32.16 kB / 0.7987 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2603, allocations: 16 kB / 0.7987 GB, free: 13.03 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2604, allocations: 129.7 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.2605, allocations: 19.81 kB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.2608, allocations: 151 kB / 0.799 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.2608, allocations: 7.938 kB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2608, allocations: 3.984 kB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2608, allocations: 0 / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2611, allocations: 217.5 kB / 0.7992 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2611, allocations: 4 kB / 0.7992 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.2612, allocations: 23.98 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2612, allocations: 0 / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2612, allocations: 4 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2612, allocations: 7.938 kB / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2612, allocations: 0 / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2614, allocations: 226.4 kB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.2615, allocations: 104.9 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2615, allocations: 8 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2617, allocations: 15.92 kB / 0.7996 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.2618, allocations: 4 kB / 0.7996 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.2618, allocations: 15.98 kB / 0.7996 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.724e-05/0.2619, allocations: 125.9 kB / 0.7997 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 0.7997 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003702/0.2623, allocations: 79.92 kB / 0.7998 GB, free: 11.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006437/0.2629, allocations: 0.8215 MB / 0.8006 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.2632, allocations: 120.3 kB / 0.8007 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.2632, allocations: 0 / 0.8007 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.2632, allocations: 47.86 kB / 0.8008 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2637, allocations: 58.91 kB / 0.8008 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2659, allocations: 2.042 MB / 0.8028 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2662, allocations: 0.7168 MB / 0.8035 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.2663, allocations: 45.75 kB / 0.8036 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.2664, allocations: 47.42 kB / 0.8036 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2664, allocations: 0 / 0.8036 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.2876, allocations: 5.147 MB / 0.8086 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.822, allocations: 17.12 kB / 0.8087 GB, free: 2.637 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/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)