Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 303.4 MB, free: 8.109 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.001237/0.001237, allocations: 171.2 kB / 372 MB, free: 10.21 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.987/1.987, allocations: 205.4 MB / 0.6307 GB, free: 9.848 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.0008076/0.0008076, allocations: 94.34 kB / 0.7441 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003743, allocations: 12.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01319/0.236, allocations: 14.36 MB / 0.9936 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008312/0.2443, allocations: 6.693 MB / 1 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.2451, allocations: 15.81 kB / 1 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.246, allocations: 198.9 kB / 1 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.2474, allocations: 494.5 kB / 1.001 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2491, allocations: 0.5865 MB / 1.001 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2502, allocations: 1.118 MB / 1.002 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.2507, allocations: 254.5 kB / 1.003 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.2514, allocations: 370.4 kB / 1.003 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.2518, allocations: 290.7 kB / 1.003 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2519, allocations: 16 kB / 1.003 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.2529, allocations: 0.5263 MB / 1.004 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.253, allocations: 75.66 kB / 1.004 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2531, allocations: 105.5 kB / 1.004 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.2537, allocations: 0.5222 MB / 1.005 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2538, allocations: 0 / 1.005 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2538, allocations: 0 / 1.005 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.2538, allocations: 4 kB / 1.005 GB, free: 1.941 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001112/0.2549, allocations: 0.7434 MB / 1.005 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2549, allocations: 12.03 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2551, allocations: 55.28 kB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.2556, allocations: 401 kB / 1.006 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2556, allocations: 20.44 kB / 1.006 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.2557, allocations: 28 kB / 1.006 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.2561, allocations: 215.2 kB / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2561, allocations: 0 / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2562, allocations: 8 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2562, allocations: 7.984 kB / 1.006 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.2565, allocations: 177.6 kB / 1.006 GB, free: 204 kB / 0.6198 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.00169/0.2582, allocations: 0.9535 MB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2585, allocations: 138.6 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.2587, allocations: 72.81 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.259, allocations: 340.5 kB / 1.008 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2591, allocations: 30.56 kB / 1.008 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.198e-06/0.2591, allocations: 0 / 1.008 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006372/0.2597, allocations: 264.6 kB / 1.008 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2598, allocations: 51.41 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.2603, allocations: 473.9 kB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2603, allocations: 29.7 kB / 1.008 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2605, allocations: 228.6 kB / 1.009 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.2606, allocations: 51.3 kB / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.2606, allocations: 0 / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2607, allocations: 354.8 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2609, allocations: 67.81 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.2612, allocations: 162.4 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2614, allocations: 85.22 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2614, allocations: 0 / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005233/0.2619, allocations: 262.1 kB / 1.01 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.262, allocations: 114.8 kB / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.262, allocations: 0 / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.262, allocations: 0 / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2623, allocations: 55.91 kB / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2623, allocations: 0 / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.2626, allocations: 43.81 kB / 1.01 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.2627, allocations: 11.98 kB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.2627, allocations: 4 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004076/0.2631, allocations: 189.3 kB / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.2631, allocations: 0 / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.2631, allocations: 8.047 kB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2633, allocations: 51.84 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.2633, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.2637, allocations: 47.75 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2637, allocations: 12 kB / 1.01 GB, free: 11.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002289/0.2639, allocations: 241 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.264, allocations: 43.44 kB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.2645, allocations: 253.1 kB / 1.011 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2646, allocations: 7.984 kB / 1.011 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2646, allocations: 0 / 1.011 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2646, allocations: 0 / 1.011 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2656, allocations: 0.7198 MB / 1.011 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2656, allocations: 4 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.2658, allocations: 40.11 kB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2658, allocations: 0 / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2658, allocations: 4 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2658, allocations: 4 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2658, allocations: 0 / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.2663, allocations: 351.5 kB / 1.012 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.2665, allocations: 148.4 kB / 1.012 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.2666, allocations: 4 kB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2668, allocations: 27.97 kB / 1.012 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2668, allocations: 11.98 kB / 1.012 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2669, allocations: 8 kB / 1.012 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003619/0.2672, allocations: 326.9 kB / 1.012 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2672, allocations: 0 / 1.012 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006738/0.2679, allocations: 191.7 kB / 1.012 GB, free: 9.418 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 (16): * Single equations (assignments): 14 * 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.001074/0.269, allocations: 492.6 kB / 1.013 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.2697, allocations: 271.7 kB / 1.013 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2697, allocations: 4 kB / 1.013 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.2699, allocations: 91.83 kB / 1.013 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.2711, allocations: 234 kB / 1.013 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2725, allocations: 0.8309 MB / 1.014 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.2729, allocations: 0.8233 MB / 1.015 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.2733, allocations: 83.23 kB / 1.015 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.2734, allocations: 43.44 kB / 1.015 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.2734, allocations: 0 / 1.015 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of Templates: time 0.01561/0.289, allocations: 8.119 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)