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.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.0009123/0.0009123, allocations: 184.6 kB / 326.5 MB, free: 2.715 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.875/1.875, 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.0007837/0.0007837, allocations: 96.67 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003282, allocations: 11.94 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2126, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01541/0.2281, allocations: 17.18 MB / 0.9135 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009624/0.2378, allocations: 7.892 MB / 0.9212 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.2385, allocations: 15.88 kB / 0.9212 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.2394, allocations: 203 kB / 0.9214 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2408, allocations: 0.5599 MB / 0.922 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2425, allocations: 0.6248 MB / 0.9226 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2437, allocations: 1.286 MB / 0.9238 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.2441, allocations: 288.7 kB / 0.9241 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.2446, allocations: 366.4 kB / 0.9245 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.2449, allocations: 314.6 kB / 0.9248 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.245, allocations: 16 kB / 0.9248 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.2461, allocations: 0.6783 MB / 0.9255 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2462, allocations: 123.5 kB / 0.9256 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.2464, allocations: 222.7 kB / 0.9258 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.2471, allocations: 0.6196 MB / 0.9264 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2471, allocations: 3.938 kB / 0.9264 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2471, allocations: 0 / 0.9264 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.2471, allocations: 0 / 0.9264 GB, free: 37.73 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.001239/0.2484, allocations: 0.7865 MB / 0.9272 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2484, allocations: 12.03 kB / 0.9272 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2487, allocations: 60.28 kB / 0.9272 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.2492, allocations: 461.9 kB / 0.9277 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.2492, allocations: 24.56 kB / 0.9277 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.2493, allocations: 31.91 kB / 0.9277 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.2498, allocations: 284.5 kB / 0.928 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2498, allocations: 0 / 0.928 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2498, allocations: 8 kB / 0.928 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2499, allocations: 8 kB / 0.928 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.2503, allocations: 210.1 kB / 0.9282 GB, free: 35.76 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.001632/0.2519, allocations: 1.297 MB / 0.9295 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2523, allocations: 190.8 kB / 0.9297 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2524, allocations: 96.8 kB / 0.9297 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.2538, allocations: 1.315 MB / 0.931 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2538, allocations: 42.47 kB / 0.9311 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.2538, allocations: 0 / 0.9311 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005952/0.2544, allocations: 288.9 kB / 0.9313 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2544, allocations: 59.41 kB / 0.9314 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.2549, allocations: 0.5846 MB / 0.932 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.255, allocations: 29.7 kB / 0.932 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.2551, allocations: 260.3 kB / 0.9323 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2552, allocations: 67.03 kB / 0.9323 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.2552, allocations: 33.7 kB / 0.9323 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.2553, allocations: 362.9 kB / 0.9327 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2555, allocations: 87.81 kB / 0.9328 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.2557, allocations: 215.9 kB / 0.933 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.2561, allocations: 243.2 kB / 0.9332 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2561, allocations: 0 / 0.9332 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005092/0.2566, allocations: 336.7 kB / 0.9335 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.2567, allocations: 144.1 kB / 0.9337 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2567, allocations: 0 / 0.9337 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2567, allocations: 4 kB / 0.9337 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.257, allocations: 67.91 kB / 0.9337 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.257, allocations: 15.97 kB / 0.9338 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2573, allocations: 47.61 kB / 0.9338 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2573, allocations: 16.08 kB / 0.9338 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.2573, allocations: 6.5 kB / 0.9338 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004162/0.2578, allocations: 265.7 kB / 0.9341 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2578, allocations: 4 kB / 0.9341 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.2578, allocations: 4 kB / 0.9341 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.258, allocations: 64.09 kB / 0.9341 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.258, allocations: 11.98 kB / 0.9342 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.2583, allocations: 43.67 kB / 0.9342 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2583, allocations: 15.98 kB / 0.9342 GB, free: 29.14 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.0001622/0.2585, allocations: 265 kB / 0.9345 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.2585, allocations: 47.34 kB / 0.9345 GB, free: 28.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.2591, allocations: 298.1 kB / 0.9348 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.2591, allocations: 4 kB / 0.9348 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2591, allocations: 4 kB / 0.9348 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2591, allocations: 3.984 kB / 0.9348 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.26, allocations: 0.7746 MB / 0.9356 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.26, allocations: 0 / 0.9356 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2602, allocations: 47.91 kB / 0.9356 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2602, allocations: 0 / 0.9356 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2602, allocations: 4 kB / 0.9356 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2602, allocations: 8.031 kB / 0.9356 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2602, allocations: 3.938 kB / 0.9356 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.2608, allocations: 494.1 kB / 0.9361 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.2609, allocations: 144.5 kB / 0.9362 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.261, allocations: 3.938 kB / 0.9362 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2612, allocations: 23.97 kB / 0.9363 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.2612, allocations: 19.98 kB / 0.9363 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2613, allocations: 8 kB / 0.9363 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003373/0.2616, allocations: 414.8 kB / 0.9367 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2616, allocations: 0 / 0.9367 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006435/0.2623, allocations: 235.7 kB / 0.9369 GB, free: 26.25 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 (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.0009811/0.2633, allocations: 493.5 kB / 0.9374 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006598/0.2639, allocations: 367.6 kB / 0.9377 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2639, allocations: 0 / 0.9377 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2641, allocations: 100.8 kB / 0.9378 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2654, allocations: 269.4 kB / 0.9381 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2666, allocations: 1.064 MB / 0.9391 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2669, allocations: 0.843 MB / 0.9399 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.267, allocations: 47.42 kB / 0.94 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.267, allocations: 0 / 0.94 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.0101/0.2771, allocations: 8.658 MB / 0.9484 GB, free: 14.56 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)