Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 171.2 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.0007721, allocations: 81.27 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 13.03 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01229/0.2175, allocations: 17.17 MB / 0.9135 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008538/0.2261, allocations: 7.903 MB / 0.9212 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.2267, allocations: 15.88 kB / 0.9212 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.2275, allocations: 203 kB / 0.9214 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.2288, allocations: 0.5637 MB / 0.922 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.2304, allocations: 0.6252 MB / 0.9226 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000941/0.2313, allocations: 1.282 MB / 0.9239 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.2316, allocations: 280.7 kB / 0.9241 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.2321, allocations: 382.3 kB / 0.9245 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.2324, allocations: 310.6 kB / 0.9248 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.2325, allocations: 16 kB / 0.9248 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.2334, allocations: 0.6822 MB / 0.9255 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.2335, allocations: 119.5 kB / 0.9256 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.2337, allocations: 226.6 kB / 0.9258 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.2344, allocations: 0.845 MB / 0.9266 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2344, allocations: 0 / 0.9266 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2345, allocations: 4 kB / 0.9266 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2345, allocations: 4 kB / 0.9266 GB, free: 37.51 MB / 0.6042 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.0009452/0.2354, allocations: 0.7864 MB / 0.9274 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2355, allocations: 8.031 kB / 0.9274 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.2356, allocations: 60.28 kB / 0.9275 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.2361, allocations: 453.9 kB / 0.9279 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2361, allocations: 20.56 kB / 0.9279 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.2362, allocations: 35.91 kB / 0.9279 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.2366, allocations: 280.5 kB / 0.9282 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2366, allocations: 4 kB / 0.9282 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.2366, allocations: 12 kB / 0.9282 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2367, allocations: 7.984 kB / 0.9282 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.237, allocations: 206.1 kB / 0.9284 GB, free: 35.55 MB / 0.6042 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.001339/0.2384, allocations: 1.285 MB / 0.9297 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.2387, allocations: 198.8 kB / 0.9299 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.2388, allocations: 96.81 kB / 0.93 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.24, allocations: 1.327 MB / 0.9313 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2401, allocations: 38.45 kB / 0.9313 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2401, allocations: 0 / 0.9313 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006211/0.2407, allocations: 296.9 kB / 0.9316 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.528e-05/0.2407, allocations: 55.41 kB / 0.9316 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.2412, allocations: 0.573 MB / 0.9322 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2412, allocations: 33.7 kB / 0.9322 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2413, allocations: 260.3 kB / 0.9325 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2414, allocations: 59.11 kB / 0.9325 GB, free: 31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.2414, allocations: 29.7 kB / 0.9326 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.2415, allocations: 366.9 kB / 0.9329 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2416, allocations: 91.8 kB / 0.933 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.2419, allocations: 211.9 kB / 0.9332 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.2422, allocations: 242.6 kB / 0.9334 GB, free: 30 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2422, allocations: 4 kB / 0.9334 GB, free: 30 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004829/0.2427, allocations: 332.7 kB / 0.9338 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.2428, allocations: 150.5 kB / 0.9339 GB, free: 29.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2428, allocations: 7.984 kB / 0.9339 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2428, allocations: 4 kB / 0.9339 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.243, allocations: 71.89 kB / 0.934 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2431, allocations: 4 kB / 0.934 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2433, allocations: 55.53 kB / 0.934 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2434, allocations: 16 kB / 0.9341 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.2434, allocations: 8 kB / 0.9341 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004008/0.2438, allocations: 250.2 kB / 0.9343 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.2438, allocations: 4.188 kB / 0.9343 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.2438, allocations: 11.98 kB / 0.9343 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.244, allocations: 71.91 kB / 0.9344 GB, free: 29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.244, allocations: 7.938 kB / 0.9344 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.2443, allocations: 47.66 kB / 0.9344 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2444, allocations: 15.94 kB / 0.9345 GB, free: 28.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0001441/0.2445, allocations: 265 kB / 0.9347 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.2446, allocations: 47.34 kB / 0.9347 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.2451, allocations: 295.3 kB / 0.935 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2451, allocations: 3.938 kB / 0.935 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2451, allocations: 0 / 0.935 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2452, allocations: 144.5 kB / 0.9352 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.2453, allocations: 4 kB / 0.9352 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2455, allocations: 27.83 kB / 0.9352 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.2455, allocations: 11.98 kB / 0.9352 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004451/0.246, allocations: 324.7 kB / 0.9355 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005744/0.2466, allocations: 0.5369 MB / 0.936 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001567/0.2467, allocations: 91.97 kB / 0.9361 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003194/0.2471, allocations: 418.8 kB / 0.9365 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of Backend: time 6.71e-07/0.2471, allocations: 3.938 kB / 0.9365 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.2491, allocations: 0.8655 MB / 0.9374 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001856/0.2509, allocations: 1.612 MB / 0.939 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.01444/0.2654, allocations: 11.6 MB / 0.9503 GB, free: 12.87 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)