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.001232/0.001232, allocations: 108 kB / 15.6 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.001361/0.001361, allocations: 197.2 kB / 16.53 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 284.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 96.41 kB / 0.5952 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01682/0.178, allocations: 17.44 MB / 0.6972 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007139/0.1851, allocations: 4.917 MB / 0.702 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.1859, allocations: 19.88 kB / 0.702 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1872, allocations: 250.4 kB / 0.7023 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.1891, allocations: 0.6141 MB / 0.7029 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1911, allocations: 0.7301 MB / 0.7036 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1923, allocations: 0.9508 MB / 0.7045 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.1929, allocations: 344.9 kB / 0.7048 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.1937, allocations: 410.4 kB / 0.7052 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.1942, allocations: 314.6 kB / 0.7055 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.1943, allocations: 32 kB / 0.7056 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1955, allocations: 0.7214 MB / 0.7063 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1957, allocations: 127.6 kB / 0.7064 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.196, allocations: 250.6 kB / 0.7066 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1972, allocations: 0.8724 MB / 0.7075 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1972, allocations: 4 kB / 0.7075 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1972, allocations: 0 / 0.7075 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.1973, allocations: 0 / 0.7075 GB, free: 4.633 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.001325/0.1986, allocations: 0.872 MB / 0.7083 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1986, allocations: 15.97 kB / 0.7084 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1988, allocations: 64.27 kB / 0.7084 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.1994, allocations: 449.6 kB / 0.7088 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1994, allocations: 24.5 kB / 0.7089 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1995, allocations: 28 kB / 0.7089 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.1999, allocations: 290.2 kB / 0.7092 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2, allocations: 4 kB / 0.7092 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2, allocations: 8 kB / 0.7092 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2, allocations: 8 kB / 0.7092 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.2004, allocations: 190.1 kB / 0.7094 GB, free: 2.602 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.001765/0.2022, allocations: 1.48 MB / 0.7108 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.2025, allocations: 166.8 kB / 0.711 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2027, allocations: 79 kB / 0.711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.2042, allocations: 1.272 MB / 0.7123 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2043, allocations: 38.48 kB / 0.7123 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2043, allocations: 3.938 kB / 0.7123 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006389/0.2049, allocations: 262.7 kB / 0.7126 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.205, allocations: 51.41 kB / 0.7126 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.2056, allocations: 0.5847 MB / 0.7132 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2057, allocations: 33.7 kB / 0.7132 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.2059, allocations: 264.1 kB / 0.7135 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.2059, allocations: 55.28 kB / 0.7135 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.206, allocations: 69.88 kB / 0.7136 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2062, allocations: 354.8 kB / 0.7139 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2064, allocations: 85.92 kB / 0.714 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.2067, allocations: 210.7 kB / 0.7142 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.2071, allocations: 234.5 kB / 0.7144 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2071, allocations: 0 / 0.7144 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006049/0.2077, allocations: 314.6 kB / 0.7147 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2077, allocations: 11.94 kB / 0.7148 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2077, allocations: 0 / 0.7148 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2078, allocations: 4 kB / 0.7148 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.208, allocations: 59.91 kB / 0.7148 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.208, allocations: 11.92 kB / 0.7148 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.2084, allocations: 47.8 kB / 0.7149 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2085, allocations: 16 kB / 0.7149 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003026/0.2088, allocations: 213.3 kB / 0.7151 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002815/0.2091, allocations: 210.7 kB / 0.7153 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003911/0.2095, allocations: 233.3 kB / 0.7155 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.2095, allocations: 0 / 0.7155 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005827/0.2101, allocations: 307.2 kB / 0.7158 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2101, allocations: 8 kB / 0.7158 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2101, allocations: 7.922 kB / 0.7158 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.2101, allocations: 4 kB / 0.7158 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2104, allocations: 59.91 kB / 0.7159 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2104, allocations: 11.94 kB / 0.7159 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.2107, allocations: 44.03 kB / 0.7159 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2108, allocations: 12 kB / 0.716 GB, free: 11.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.2109, allocations: 196.9 kB / 0.7161 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.211, allocations: 51.28 kB / 0.7162 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.2116, allocations: 257.7 kB / 0.7164 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2116, allocations: 4.188 kB / 0.7164 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2116, allocations: 4 kB / 0.7164 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2116, allocations: 7.875 kB / 0.7165 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2127, allocations: 0.7316 MB / 0.7172 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2127, allocations: 4.125 kB / 0.7172 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2129, allocations: 31.97 kB / 0.7172 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2129, allocations: 4 kB / 0.7172 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2129, allocations: 8 kB / 0.7172 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2129, allocations: 0 / 0.7172 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2129, allocations: 7.875 kB / 0.7172 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.2134, allocations: 352 kB / 0.7176 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.2136, allocations: 144.4 kB / 0.7177 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.2136, allocations: 4 kB / 0.7177 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2138, allocations: 15.98 kB / 0.7177 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.2139, allocations: 15.92 kB / 0.7177 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2139, allocations: 15.92 kB / 0.7177 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005567/0.2145, allocations: 418.8 kB / 0.7181 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2145, allocations: 0 / 0.7181 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007688/0.2153, allocations: 231.7 kB / 0.7184 GB, free: 8.703 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 (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.001185/0.2164, allocations: 492.8 kB / 0.7188 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007632/0.2172, allocations: 338.2 kB / 0.7192 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2172, allocations: 0 / 0.7192 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.2174, allocations: 91.83 kB / 0.7192 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.2187, allocations: 253.3 kB / 0.7195 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.22, allocations: 0.8209 MB / 0.7203 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.2205, allocations: 0.8389 MB / 0.7211 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003527/0.2209, allocations: 100.5 kB / 0.7212 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.221, allocations: 43.42 kB / 0.7212 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.221, allocations: 0 / 0.7212 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of Templates: time 0.01794/0.2389, allocations: 10.2 MB / 0.7312 GB, free: 11.79 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)