Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.4 MB / 303.7 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 175.2 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.0009021, allocations: 97.02 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004168, allocations: 11.72 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01187/0.2249, allocations: 16.1 MB / 0.9959 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008061/0.233, allocations: 7.093 MB / 1.003 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.2335, allocations: 15.88 kB / 1.003 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.2342, allocations: 190.9 kB / 1.003 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.2355, allocations: 0.5287 MB / 1.003 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.2372, allocations: 0.5936 MB / 1.004 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.238, allocations: 1.095 MB / 1.005 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2384, allocations: 280.2 kB / 1.005 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.2389, allocations: 366.4 kB / 1.006 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.2392, allocations: 298.7 kB / 1.006 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.2392, allocations: 16 kB / 1.006 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.2402, allocations: 0.6588 MB / 1.007 GB, free: 68 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2403, allocations: 111.7 kB / 1.007 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2405, allocations: 236.5 kB / 1.007 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.2412, allocations: 0.608 MB / 1.008 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2412, allocations: 3.828 kB / 1.008 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2412, allocations: 4 kB / 1.008 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.2412, allocations: 0 / 1.008 GB, free: 15.1 MB / 0.6355 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.001202/0.2424, allocations: 0.7864 MB / 1.008 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2425, allocations: 12.03 kB / 1.008 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2426, allocations: 68.17 kB / 1.008 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.2433, allocations: 441.3 kB / 1.009 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2433, allocations: 24.56 kB / 1.009 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.2433, allocations: 28 kB / 1.009 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.2438, allocations: 282.3 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2439, allocations: 7.938 kB / 1.009 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.2439, allocations: 8 kB / 1.009 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2439, allocations: 8 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.2443, allocations: 198.1 kB / 1.009 GB, free: 13.15 MB / 0.6355 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.001857/0.2462, allocations: 1.48 MB / 1.011 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.2465, allocations: 166.8 kB / 1.011 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.2467, allocations: 88.81 kB / 1.011 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.2483, allocations: 1.291 MB / 1.012 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2483, allocations: 42.5 kB / 1.012 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2483, allocations: 0 / 1.012 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006561/0.249, allocations: 268.1 kB / 1.013 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2491, allocations: 51.41 kB / 1.013 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.2498, allocations: 0.5808 MB / 1.013 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.2498, allocations: 29.7 kB / 1.013 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.25, allocations: 276.1 kB / 1.014 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.2501, allocations: 55.2 kB / 1.014 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.2501, allocations: 4 kB / 1.014 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2503, allocations: 358.8 kB / 1.014 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2505, allocations: 76.52 kB / 1.014 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2508, allocations: 210.7 kB / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.2512, allocations: 239.2 kB / 1.014 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2512, allocations: 0 / 1.014 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000562/0.2517, allocations: 326.4 kB / 1.015 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2519, allocations: 157.8 kB / 1.015 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2519, allocations: 4 kB / 1.015 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2519, allocations: 8.094 kB / 1.015 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2522, allocations: 67.83 kB / 1.015 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2522, allocations: 4 kB / 1.015 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.2525, allocations: 43.67 kB / 1.015 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.2525, allocations: 19.98 kB / 1.015 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.2526, allocations: 5.719 kB / 1.015 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004474/0.253, allocations: 243.6 kB / 1.015 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.253, allocations: 4.25 kB / 1.015 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.253, allocations: 11.94 kB / 1.015 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2533, allocations: 59.91 kB / 1.015 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2533, allocations: 15.91 kB / 1.015 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.2536, allocations: 47.67 kB / 1.015 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2536, allocations: 15.98 kB / 1.015 GB, free: 6.465 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.2538, allocations: 257 kB / 1.016 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.2539, allocations: 51.38 kB / 1.016 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.2544, allocations: 276.5 kB / 1.016 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2544, allocations: 0 / 1.016 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2544, allocations: 4 kB / 1.016 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2545, allocations: 3.938 kB / 1.016 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.2555, allocations: 0.7433 MB / 1.017 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2555, allocations: 0 / 1.017 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2556, allocations: 31.98 kB / 1.017 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2556, allocations: 4.188 kB / 1.017 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2556, allocations: 7.984 kB / 1.017 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2556, allocations: 8.125 kB / 1.017 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2556, allocations: 0 / 1.017 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.2562, allocations: 370.1 kB / 1.017 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.2563, allocations: 156.4 kB / 1.017 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.2564, allocations: 3.984 kB / 1.017 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2566, allocations: 19.98 kB / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.2567, allocations: 15.98 kB / 1.017 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2567, allocations: 7.938 kB / 1.017 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004832/0.2572, allocations: 414.8 kB / 1.018 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2572, allocations: 3.938 kB / 1.018 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007704/0.258, allocations: 231.6 kB / 1.018 GB, free: 3.766 MB / 0.6355 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 (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.001223/0.2592, allocations: 0.4883 MB / 1.018 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.2599, allocations: 324.4 kB / 1.019 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.26, allocations: 4 kB / 1.019 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2602, allocations: 96 kB / 1.019 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.2615, allocations: 246.8 kB / 1.019 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.263, allocations: 0.9653 MB / 1.02 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.2634, allocations: 0.8429 MB / 1.021 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.2638, allocations: 100.3 kB / 1.021 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.2639, allocations: 43.42 kB / 1.021 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.2639, allocations: 0 / 1.021 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of Templates: time 0.0187/0.2826, allocations: 9.78 MB / 1.031 GB, free: 7.051 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)