Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.516/2.516, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001355, allocations: 179 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000983/0.0009822, allocations: 94.3 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006143/0.0006146, allocations: 13.12 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2537, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02131/0.2751, allocations: 16.1 MB / 0.9148 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.2882, allocations: 7.074 MB / 0.9217 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.289, allocations: 19.88 kB / 0.9217 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009533/0.29, allocations: 191 kB / 0.9219 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.2919, allocations: 0.5036 MB / 0.9224 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.2945, allocations: 0.5837 MB / 0.9229 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.2962, allocations: 1.107 MB / 0.924 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.2968, allocations: 286.6 kB / 0.9243 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.2977, allocations: 346.5 kB / 0.9246 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.2982, allocations: 298.7 kB / 0.9249 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.2983, allocations: 16 kB / 0.9249 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2999, allocations: 0.5848 MB / 0.9255 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3001, allocations: 111.6 kB / 0.9256 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3003, allocations: 117.4 kB / 0.9257 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3014, allocations: 0.5923 MB / 0.9263 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.3015, allocations: 0 / 0.9263 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.005e-06/0.3015, allocations: 0 / 0.9263 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.3015, allocations: 0 / 0.9263 GB, free: 37.43 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.00152/0.3031, allocations: 0.7995 MB / 0.9271 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3031, allocations: 8.031 kB / 0.9271 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.3033, allocations: 64.27 kB / 0.9271 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.3042, allocations: 434.2 kB / 0.9275 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.3043, allocations: 24.56 kB / 0.9276 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3043, allocations: 31.94 kB / 0.9276 GB, free: 36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.3051, allocations: 284.5 kB / 0.9279 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3051, allocations: 0 / 0.9279 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3051, allocations: 8 kB / 0.9279 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3052, allocations: 8 kB / 0.9279 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.3059, allocations: 206.1 kB / 0.9281 GB, free: 35.48 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.002481/0.3084, allocations: 1.289 MB / 0.9293 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.3089, allocations: 198.8 kB / 0.9295 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.3093, allocations: 96.81 kB / 0.9296 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002232/0.3115, allocations: 1.319 MB / 0.9309 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3116, allocations: 30.56 kB / 0.9309 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 4.178e-06/0.3116, allocations: 3.984 kB / 0.9309 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001054/0.3127, allocations: 295.3 kB / 0.9312 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3127, allocations: 51.41 kB / 0.9313 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.3136, allocations: 0.573 MB / 0.9318 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.3137, allocations: 37.64 kB / 0.9319 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3139, allocations: 264.3 kB / 0.9321 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.314, allocations: 59.11 kB / 0.9322 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.314, allocations: 4 kB / 0.9322 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3141, allocations: 366.9 kB / 0.9325 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3145, allocations: 83.8 kB / 0.9326 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.3149, allocations: 207.9 kB / 0.9328 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3153, allocations: 110.1 kB / 0.9329 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3153, allocations: 4 kB / 0.9329 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009457/0.3162, allocations: 324.7 kB / 0.9332 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.3163, allocations: 148.9 kB / 0.9334 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3164, allocations: 7.938 kB / 0.9334 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3164, allocations: 4 kB / 0.9334 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.3169, allocations: 67.91 kB / 0.9335 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3169, allocations: 4 kB / 0.9335 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.3176, allocations: 63.44 kB / 0.9335 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.3177, allocations: 12 kB / 0.9335 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.3177, allocations: 4 kB / 0.9335 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007847/0.3185, allocations: 260.8 kB / 0.9338 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3185, allocations: 0 / 0.9338 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.3185, allocations: 4 kB / 0.9338 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.319, allocations: 68.09 kB / 0.9338 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.319, allocations: 4 kB / 0.9339 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.3196, allocations: 47.75 kB / 0.9339 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.3196, allocations: 12 kB / 0.9339 GB, free: 29.09 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.0003018/0.3199, allocations: 265 kB / 0.9342 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.32, allocations: 51.34 kB / 0.9342 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/0.3209, allocations: 303.8 kB / 0.9345 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.321, allocations: 0 / 0.9345 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.321, allocations: 4 kB / 0.9345 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.321, allocations: 3.984 kB / 0.9345 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3225, allocations: 0.7707 MB / 0.9353 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3225, allocations: 0 / 0.9353 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.3228, allocations: 43.91 kB / 0.9353 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3229, allocations: 0 / 0.9353 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.3229, allocations: 8 kB / 0.9353 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3229, allocations: 4 kB / 0.9353 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3229, allocations: 4 kB / 0.9353 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.324, allocations: 486.1 kB / 0.9358 GB, free: 27.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3243, allocations: 160.4 kB / 0.9359 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.3244, allocations: 11.94 kB / 0.9359 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.3248, allocations: 24.05 kB / 0.936 GB, free: 26.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3249, allocations: 16.16 kB / 0.936 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3249, allocations: 4.094 kB / 0.936 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006942/0.3256, allocations: 418.8 kB / 0.9364 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.793e-06/0.3256, allocations: 0 / 0.9364 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001076/0.3267, allocations: 231.6 kB / 0.9366 GB, free: 26.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001459/0.3282, allocations: 0.4899 MB / 0.9371 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.3295, allocations: 356.2 kB / 0.9374 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3296, allocations: 0.75 kB / 0.9374 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.3299, allocations: 111.8 kB / 0.9375 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.3323, allocations: 259.2 kB / 0.9378 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3344, allocations: 1.041 MB / 0.9388 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3349, allocations: 0.8508 MB / 0.9396 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006622/0.3355, allocations: 112.3 kB / 0.9397 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3357, allocations: 39.44 kB / 0.9398 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.323e-06/0.3357, allocations: 0 / 0.9398 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.02635/0.362, allocations: 9.772 MB / 0.9493 GB, free: 13.36 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)