Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 103.9 kB / 16.27 MB, free: 6.414 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.001129/0.001129, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 294.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9128/0.9128, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 93.44 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1563, allocations: 86.98 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005926/0.1623, allocations: 4.718 MB / 0.6854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.165, allocations: 2.695 MB / 0.6881 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1652, allocations: 4 kB / 0.6881 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1654, allocations: 43.67 kB / 0.6881 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1657, allocations: 95.36 kB / 0.6882 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1669, allocations: 0.5009 MB / 0.6887 GB, free: 116 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2626/0.4295, allocations: 224.7 kB / 0.6889 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.4296, allocations: 11.61 kB / 0.6889 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.4299, allocations: 118.9 kB / 0.689 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.4301, allocations: 94.95 kB / 0.6891 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.4301, allocations: 8.281 kB / 0.6891 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008184/0.4309, allocations: 363.5 kB / 0.6895 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.431, allocations: 34.11 kB / 0.6895 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.4311, allocations: 84.52 kB / 0.6896 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.4317, allocations: 361.2 kB / 0.6899 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4317, allocations: 0 / 0.6899 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4317, allocations: 2 kB / 0.6899 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4317, allocations: 0 / 0.6899 GB, free: 13.05 MB / 494.1 MB 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.0006033/0.4323, allocations: 0.5024 MB / 0.6904 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.4323, allocations: 11.06 kB / 0.6904 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4325, allocations: 22.75 kB / 0.6905 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.4327, allocations: 217.4 kB / 0.6907 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4327, allocations: 14.77 kB / 0.6907 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4327, allocations: 14.81 kB / 0.6907 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.4331, allocations: 246.1 kB / 0.6909 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4331, allocations: 5.344 kB / 0.6909 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4332, allocations: 9.719 kB / 0.6909 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.4332, allocations: 6.672 kB / 0.6909 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.4337, allocations: 424.7 kB / 0.6913 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.4346, allocations: 0.952 MB / 0.6923 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.4349, allocations: 159.1 kB / 0.6924 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.435, allocations: 62.17 kB / 0.6925 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/0.4359, allocations: 1.824 MB / 0.6943 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.4359, allocations: 41.53 kB / 0.6943 GB, free: 9.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4359, allocations: 0 / 0.6943 GB, free: 9.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003078/0.4362, allocations: 143.8 kB / 0.6944 GB, free: 9.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4362, allocations: 57.41 kB / 0.6945 GB, free: 9.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4364, allocations: 173.6 kB / 0.6947 GB, free: 9.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4364, allocations: 31.17 kB / 0.6947 GB, free: 9.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.4365, allocations: 147.1 kB / 0.6948 GB, free: 9.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4365, allocations: 51.94 kB / 0.6949 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.4366, allocations: 51.27 kB / 0.6949 GB, free: 9.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.4366, allocations: 326.2 kB / 0.6952 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.4367, allocations: 34.41 kB / 0.6953 GB, free: 8.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4368, allocations: 141.7 kB / 0.6954 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.437, allocations: 197 kB / 0.6956 GB, free: 8.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.437, allocations: 1.469 kB / 0.6956 GB, free: 8.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002983/0.4373, allocations: 218 kB / 0.6958 GB, free: 8.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4373, allocations: 9.781 kB / 0.6958 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4373, allocations: 4.812 kB / 0.6958 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4374, allocations: 5.406 kB / 0.6958 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4375, allocations: 52.83 kB / 0.6959 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4375, allocations: 13.72 kB / 0.6959 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4377, allocations: 25.08 kB / 0.6959 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4377, allocations: 10.41 kB / 0.6959 GB, free: 8.492 MB / 494.1 MB 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 7.774e-05/0.4378, allocations: 141.4 kB / 0.6961 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4378, allocations: 12.97 kB / 0.6961 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.4381, allocations: 158.3 kB / 0.6962 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4381, allocations: 3.391 kB / 0.6962 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4381, allocations: 3.938 kB / 0.6962 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4381, allocations: 2.391 kB / 0.6962 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4383, allocations: 213.3 kB / 0.6964 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4383, allocations: 0 / 0.6964 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.4384, allocations: 38.78 kB / 0.6965 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4384, allocations: 0 / 0.6965 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4385, allocations: 2.672 kB / 0.6965 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4385, allocations: 2.047 kB / 0.6965 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4385, allocations: 3.938 kB / 0.6965 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4387, allocations: 218.2 kB / 0.6967 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.4388, allocations: 115.5 kB / 0.6968 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.4388, allocations: 1.094 kB / 0.6968 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.439, allocations: 19.45 kB / 0.6968 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.439, allocations: 12.52 kB / 0.6968 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.4391, allocations: 12.92 kB / 0.6968 GB, free: 7.863 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.495e-05/0.4392, allocations: 124.7 kB / 0.697 GB, free: 7.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4392, allocations: 0 / 0.697 GB, free: 7.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.4395, allocations: 72.41 kB / 0.697 GB, free: 7.785 MB / 494.1 MB 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.0003309/0.4399, allocations: 185.8 kB / 0.6972 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.4401, allocations: 119.5 kB / 0.6973 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4402, allocations: 1.188 kB / 0.6973 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.4402, allocations: 49.3 kB / 0.6974 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.4407, allocations: 57.03 kB / 0.6974 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.4413, allocations: 377.8 kB / 0.6978 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.4415, allocations: 0.7106 MB / 0.6985 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.4415, allocations: 29.27 kB / 0.6985 GB, free: 6.746 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4415, allocations: 0.8125 kB / 0.6985 GB, free: 6.746 MB / 494.1 MB Notification: Performance of Templates: time 0.005587/0.4471, allocations: 3.177 MB / 0.7016 GB, free: 6.398 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)