Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, 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.0008494/0.0008495, 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 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 262.9 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 13.66 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1689, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0158/0.1847, allocations: 15.98 MB / 0.7001 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006404/0.1912, allocations: 4.609 MB / 0.7046 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1916, allocations: 19.88 kB / 0.7046 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.1924, allocations: 183 kB / 0.7048 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.1937, allocations: 0.4974 MB / 0.7053 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1953, allocations: 0.5934 MB / 0.7059 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1965, allocations: 1.087 MB / 0.7069 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.1969, allocations: 262.5 kB / 0.7072 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.1974, allocations: 358.4 kB / 0.7075 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.1978, allocations: 298.7 kB / 0.7078 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.1978, allocations: 12 kB / 0.7078 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1989, allocations: 0.5965 MB / 0.7084 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.199, allocations: 107.6 kB / 0.7085 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1991, allocations: 117.4 kB / 0.7086 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.1998, allocations: 0.5963 MB / 0.7092 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1998, allocations: 0 / 0.7092 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1998, allocations: 3.938 kB / 0.7092 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1998, allocations: 4 kB / 0.7092 GB, free: 6.074 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001067/0.2009, allocations: 0.7824 MB / 0.71 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2009, allocations: 8.031 kB / 0.71 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2011, allocations: 67.23 kB / 0.71 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.2016, allocations: 424.9 kB / 0.7104 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2017, allocations: 28.55 kB / 0.7105 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.2017, allocations: 35.89 kB / 0.7105 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.2022, allocations: 286.2 kB / 0.7108 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2022, allocations: 0 / 0.7108 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.2022, allocations: 16 kB / 0.7108 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2023, allocations: 4 kB / 0.7108 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.2026, allocations: 202.1 kB / 0.711 GB, free: 4.141 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2043, allocations: 1.472 MB / 0.7124 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.2046, allocations: 170.8 kB / 0.7126 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2048, allocations: 88.77 kB / 0.7127 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.2063, allocations: 1.284 MB / 0.7139 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2063, allocations: 34.56 kB / 0.714 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2063, allocations: 0 / 0.714 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005638/0.2069, allocations: 269.1 kB / 0.7142 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2069, allocations: 55.41 kB / 0.7143 GB, free: 448 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.2075, allocations: 0.5808 MB / 0.7148 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2076, allocations: 29.7 kB / 0.7149 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2078, allocations: 268.1 kB / 0.7151 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.2078, allocations: 59.19 kB / 0.7152 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2078, allocations: 11.94 kB / 0.7152 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.208, allocations: 362.7 kB / 0.7155 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2081, allocations: 72.52 kB / 0.7156 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2084, allocations: 210.7 kB / 0.7158 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2086, allocations: 107.9 kB / 0.7159 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2086, allocations: 0 / 0.7159 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005346/0.2092, allocations: 322.6 kB / 0.7162 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.2093, allocations: 157.8 kB / 0.7164 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2093, allocations: 4 kB / 0.7164 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2093, allocations: 7.953 kB / 0.7164 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2095, allocations: 59.91 kB / 0.7164 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2095, allocations: 4 kB / 0.7164 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2099, allocations: 59.66 kB / 0.7165 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2099, allocations: 12 kB / 0.7165 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-06/0.2099, allocations: 2.594 kB / 0.7165 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004405/0.2104, allocations: 257.5 kB / 0.7167 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2104, allocations: 0 / 0.7167 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.2104, allocations: 4 kB / 0.7167 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.2106, allocations: 67.91 kB / 0.7168 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2106, allocations: 7.938 kB / 0.7168 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.2109, allocations: 51.84 kB / 0.7169 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2109, allocations: 8 kB / 0.7169 GB, free: 13.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * 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.0002055/0.2111, allocations: 265.6 kB / 0.7171 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.2112, allocations: 55.3 kB / 0.7172 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.2117, allocations: 257.8 kB / 0.7174 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2117, allocations: 4 kB / 0.7174 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2118, allocations: 3.984 kB / 0.7174 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2118, allocations: 3.953 kB / 0.7174 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.2128, allocations: 0.7484 MB / 0.7182 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2128, allocations: 0 / 0.7182 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.2129, allocations: 35.98 kB / 0.7182 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2129, allocations: 8.078 kB / 0.7182 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2129, allocations: 4 kB / 0.7182 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2129, allocations: 3.984 kB / 0.7182 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.213, allocations: 7.984 kB / 0.7182 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.2134, allocations: 359.7 kB / 0.7186 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.2135, allocations: 152.4 kB / 0.7187 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.2136, allocations: 4 kB / 0.7187 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2138, allocations: 31.91 kB / 0.7188 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.2139, allocations: 12.12 kB / 0.7188 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2139, allocations: 12 kB / 0.7188 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004274/0.2143, allocations: 410.8 kB / 0.7192 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2143, allocations: 3.938 kB / 0.7192 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007265/0.215, allocations: 231.7 kB / 0.7194 GB, free: 10.93 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001143/0.2162, allocations: 0.4915 MB / 0.7199 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.2169, allocations: 332.2 kB / 0.7202 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.217, allocations: 3.938 kB / 0.7202 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.2171, allocations: 91.89 kB / 0.7203 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2184, allocations: 257.4 kB / 0.7205 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2199, allocations: 0.9642 MB / 0.7215 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.2206, allocations: 0.8429 MB / 0.7223 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003733/0.221, allocations: 104.6 kB / 0.7224 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.221, allocations: 35.44 kB / 0.7224 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.221, allocations: 0 / 0.7224 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of Templates: time 0.0164/0.2375, allocations: 9.606 MB / 0.7318 GB, free: 14.44 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)