Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001433/0.001433, allocations: 175.9 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.517/2.517, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001097/0.001097, allocations: 97.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 17 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02367/0.2396, allocations: 16.11 MB / 0.9152 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.2525, allocations: 7.062 MB / 0.9221 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006721/0.2532, allocations: 15.88 kB / 0.9222 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.2542, allocations: 179 kB / 0.9223 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.2561, allocations: 0.513 MB / 0.9228 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.2587, allocations: 0.5798 MB / 0.9234 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.2604, allocations: 1.103 MB / 0.9245 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/0.2609, allocations: 286.6 kB / 0.9247 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.2618, allocations: 346.4 kB / 0.9251 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.2623, allocations: 302.7 kB / 0.9254 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.2624, allocations: 19.94 kB / 0.9254 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2639, allocations: 0.5848 MB / 0.9259 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2641, allocations: 111.6 kB / 0.9261 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2643, allocations: 117.4 kB / 0.9262 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.2653, allocations: 0.5885 MB / 0.9267 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2653, allocations: 0 / 0.9267 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2653, allocations: 0 / 0.9267 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.2653, allocations: 0 / 0.9267 GB, free: 37.57 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.001471/0.2668, allocations: 0.802 MB / 0.9275 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2669, allocations: 8.031 kB / 0.9275 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.2671, allocations: 56.28 kB / 0.9276 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.2679, allocations: 438.2 kB / 0.928 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.2679, allocations: 24.56 kB / 0.928 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.268, allocations: 32 kB / 0.9281 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.2687, allocations: 284.5 kB / 0.9283 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2687, allocations: 0 / 0.9283 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.2688, allocations: 8 kB / 0.9283 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2688, allocations: 4 kB / 0.9283 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.2694, allocations: 214.1 kB / 0.9285 GB, free: 35.61 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.002462/0.2719, allocations: 1.289 MB / 0.9298 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.2725, allocations: 198.8 kB / 0.93 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.2728, allocations: 96.81 kB / 0.9301 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.2749, allocations: 1.323 MB / 0.9314 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.275, allocations: 38.56 kB / 0.9314 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.946e-06/0.275, allocations: 0 / 0.9314 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009655/0.276, allocations: 290.3 kB / 0.9317 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.276, allocations: 55.41 kB / 0.9317 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.2769, allocations: 0.5691 MB / 0.9323 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2769, allocations: 29.7 kB / 0.9323 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.2772, allocations: 264.3 kB / 0.9326 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.2772, allocations: 63.09 kB / 0.9326 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.2773, allocations: 7.938 kB / 0.9326 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2774, allocations: 362.9 kB / 0.933 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2777, allocations: 91.8 kB / 0.9331 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2781, allocations: 204 kB / 0.9333 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.2785, allocations: 115.7 kB / 0.9334 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2785, allocations: 0 / 0.9334 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008992/0.2794, allocations: 320.9 kB / 0.9337 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.2795, allocations: 151.9 kB / 0.9338 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2795, allocations: 3.938 kB / 0.9338 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2796, allocations: 4 kB / 0.9338 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.28, allocations: 68 kB / 0.9339 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2801, allocations: 7.938 kB / 0.9339 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.2807, allocations: 59.5 kB / 0.934 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.2808, allocations: 16 kB / 0.934 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.2808, allocations: 4 kB / 0.934 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007721/0.2816, allocations: 259.6 kB / 0.9342 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2816, allocations: 0 / 0.9342 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.2816, allocations: 4 kB / 0.9342 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.282, allocations: 67.91 kB / 0.9343 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.282, allocations: 4 kB / 0.9343 GB, free: 29.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.2826, allocations: 47.81 kB / 0.9344 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2826, allocations: 12 kB / 0.9344 GB, free: 29.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.2829, allocations: 261 kB / 0.9346 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.283, allocations: 55.33 kB / 0.9347 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008577/0.2839, allocations: 295.5 kB / 0.935 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2839, allocations: 7.938 kB / 0.935 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2839, allocations: 0 / 0.935 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.2841, allocations: 148.5 kB / 0.9351 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.2842, allocations: 8 kB / 0.9351 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.2846, allocations: 27.92 kB / 0.9351 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.2847, allocations: 11.97 kB / 0.9351 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008182/0.2855, allocations: 316.7 kB / 0.9354 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001036/0.2866, allocations: 0.5367 MB / 0.936 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002851/0.2869, allocations: 95.95 kB / 0.9361 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006156/0.2875, allocations: 414.8 kB / 0.9365 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of Backend: time 1.132e-06/0.2875, allocations: 0 / 0.9365 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003155/0.2907, allocations: 0.8599 MB / 0.9373 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003448/0.2942, allocations: 1.634 MB / 0.9389 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.02993/0.3241, allocations: 11.3 MB / 0.9499 GB, free: 13.43 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)