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.001233/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001051/0.001051, allocations: 195.5 kB / 16.14 MB, free: 6.715 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 275.2 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 90.5 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1787, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01777/0.1965, allocations: 17.38 MB / 0.6964 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006826/0.2034, allocations: 4.937 MB / 0.7012 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.204, allocations: 15.88 kB / 0.7013 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.2048, allocations: 203 kB / 0.7014 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.2062, allocations: 0.5638 MB / 0.702 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.2078, allocations: 0.6446 MB / 0.7026 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2091, allocations: 1.267 MB / 0.7039 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.2095, allocations: 296.7 kB / 0.7041 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/0.2101, allocations: 382.3 kB / 0.7045 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.2105, allocations: 310.6 kB / 0.7048 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.2106, allocations: 20 kB / 0.7048 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.2117, allocations: 0.6979 MB / 0.7055 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2119, allocations: 127.4 kB / 0.7056 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.2121, allocations: 230.7 kB / 0.7058 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2131, allocations: 0.8529 MB / 0.7067 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2131, allocations: 12 kB / 0.7067 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2131, allocations: 0 / 0.7067 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2131, allocations: 0 / 0.7067 GB, free: 5.188 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.001211/0.2144, allocations: 0.8758 MB / 0.7075 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.2144, allocations: 8.031 kB / 0.7076 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.2146, allocations: 68.27 kB / 0.7076 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.2151, allocations: 441.6 kB / 0.708 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2151, allocations: 28.5 kB / 0.7081 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.2152, allocations: 32 kB / 0.7081 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.2157, allocations: 286.2 kB / 0.7084 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2157, allocations: 0 / 0.7084 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2157, allocations: 11.94 kB / 0.7084 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2157, allocations: 12 kB / 0.7084 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.2162, allocations: 194 kB / 0.7086 GB, free: 3.152 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.001844/0.2181, allocations: 1.48 MB / 0.71 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.2184, allocations: 158.8 kB / 0.7102 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2186, allocations: 84.81 kB / 0.7103 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.2202, allocations: 1.268 MB / 0.7115 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2203, allocations: 42.5 kB / 0.7115 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2203, allocations: 0 / 0.7115 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006595/0.221, allocations: 255.4 kB / 0.7118 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.221, allocations: 55.41 kB / 0.7118 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.2217, allocations: 0.5847 MB / 0.7124 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2218, allocations: 37.64 kB / 0.7124 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.222, allocations: 264.1 kB / 0.7127 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.222, allocations: 51.3 kB / 0.7127 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2222, allocations: 77.81 kB / 0.7128 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2223, allocations: 354.8 kB / 0.7132 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2225, allocations: 81.92 kB / 0.7132 GB, free: 14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.2228, allocations: 206.8 kB / 0.7134 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.2232, allocations: 238.9 kB / 0.7137 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2232, allocations: 0 / 0.7137 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005867/0.2238, allocations: 310 kB / 0.714 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2239, allocations: 15.88 kB / 0.714 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2239, allocations: 4.25 kB / 0.714 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2239, allocations: 8 kB / 0.714 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.2242, allocations: 59.91 kB / 0.714 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2242, allocations: 4 kB / 0.714 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2245, allocations: 51.56 kB / 0.7141 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.2246, allocations: 12 kB / 0.7141 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003073/0.2249, allocations: 221.3 kB / 0.7143 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002801/0.2252, allocations: 206.7 kB / 0.7145 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003773/0.2256, allocations: 231 kB / 0.7147 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.2256, allocations: 4 kB / 0.7147 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006005/0.2262, allocations: 310.8 kB / 0.715 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2262, allocations: 12.06 kB / 0.715 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2262, allocations: 3.938 kB / 0.715 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.2262, allocations: 4 kB / 0.715 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2264, allocations: 59.91 kB / 0.7151 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2265, allocations: 4 kB / 0.7151 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.2268, allocations: 43.81 kB / 0.7152 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2269, allocations: 16.19 kB / 0.7152 GB, free: 11.84 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.0001222/0.227, allocations: 192.9 kB / 0.7154 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.2271, allocations: 59.22 kB / 0.7154 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.2276, allocations: 267.6 kB / 0.7157 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2277, allocations: 4 kB / 0.7157 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2277, allocations: 3.984 kB / 0.7157 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2277, allocations: 0 / 0.7157 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2287, allocations: 0.7355 MB / 0.7164 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2287, allocations: 0 / 0.7164 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2288, allocations: 36.05 kB / 0.7164 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2288, allocations: 7.938 kB / 0.7164 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2289, allocations: 4 kB / 0.7164 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.2289, allocations: 7.984 kB / 0.7164 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2289, allocations: 0 / 0.7164 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.2294, allocations: 346.2 kB / 0.7168 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2295, allocations: 152.5 kB / 0.7169 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.2296, allocations: 4 kB / 0.7169 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2298, allocations: 19.97 kB / 0.7169 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.2299, allocations: 19.92 kB / 0.717 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2299, allocations: 4 kB / 0.717 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004412/0.2304, allocations: 418.8 kB / 0.7174 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2304, allocations: 4 kB / 0.7174 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007331/0.2311, allocations: 231.7 kB / 0.7176 GB, free: 9.242 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.001129/0.2323, allocations: 496.9 kB / 0.7181 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007216/0.233, allocations: 318.6 kB / 0.7184 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.233, allocations: 0 / 0.7184 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2332, allocations: 96.94 kB / 0.7185 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.2346, allocations: 251.3 kB / 0.7187 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.236, allocations: 0.9538 MB / 0.7196 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.2364, allocations: 0.8429 MB / 0.7205 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.2368, allocations: 104.6 kB / 0.7206 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.2369, allocations: 35.44 kB / 0.7206 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2369, allocations: 0 / 0.7206 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.01661/0.2535, allocations: 9.912 MB / 0.7303 GB, free: 12.48 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)