Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 255.9 MB / 271.2 MB, free: 8.887 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 190.3 kB / 330.8 MB, free: 480 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006982/0.0006982, allocations: 101.5 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003862, allocations: 13.36 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 109.2 MB / 0.9328 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01214/0.2445, allocations: 15.31 MB / 0.9477 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2562, allocations: 10.97 MB / 0.9584 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.257, allocations: 19.81 kB / 0.9584 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.258, allocations: 222.9 kB / 0.9586 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.2598, allocations: 0.5521 MB / 0.9592 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.2618, allocations: 0.6277 MB / 0.9598 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.2635, allocations: 1.306 MB / 0.9611 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.264, allocations: 279.9 kB / 0.9613 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.2647, allocations: 378.3 kB / 0.9617 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.2652, allocations: 314.5 kB / 0.962 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.2653, allocations: 20 kB / 0.962 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.2665, allocations: 0.5731 MB / 0.9626 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2667, allocations: 87.55 kB / 0.9627 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.267, allocations: 228.5 kB / 0.9629 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2681, allocations: 0.7281 MB / 0.9636 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2681, allocations: 0 / 0.9636 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2681, allocations: 0 / 0.9636 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.2681, allocations: 0 / 0.9636 GB, free: 7.395 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001258/0.2694, allocations: 0.7436 MB / 0.9643 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.2694, allocations: 11.98 kB / 0.9643 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2695, allocations: 52.38 kB / 0.9644 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.2702, allocations: 416.8 kB / 0.9648 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.2703, allocations: 20.44 kB / 0.9648 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.2703, allocations: 28 kB / 0.9648 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.2708, allocations: 219.2 kB / 0.965 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2708, allocations: 0 / 0.965 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2709, allocations: 12 kB / 0.965 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2709, allocations: 8 kB / 0.9651 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.2713, allocations: 177.6 kB / 0.9652 GB, free: 5.621 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.001816/0.2731, allocations: 0.9534 MB / 0.9662 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.2734, allocations: 134.6 kB / 0.9663 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2736, allocations: 80.75 kB / 0.9664 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.274, allocations: 336.4 kB / 0.9667 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.274, allocations: 42.56 kB / 0.9667 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.274, allocations: 0 / 0.9667 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006446/0.2747, allocations: 241.5 kB / 0.9669 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.2747, allocations: 51.41 kB / 0.967 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.2753, allocations: 469.9 kB / 0.9674 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.2753, allocations: 29.7 kB / 0.9675 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2755, allocations: 224.6 kB / 0.9677 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2756, allocations: 55.3 kB / 0.9677 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.2756, allocations: 4 kB / 0.9677 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2758, allocations: 362.7 kB / 0.9681 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.276, allocations: 67.95 kB / 0.9682 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.2763, allocations: 153.7 kB / 0.9683 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2767, allocations: 178.2 kB / 0.9685 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2767, allocations: 0 / 0.9685 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005379/0.2772, allocations: 264.9 kB / 0.9687 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.2773, allocations: 106.7 kB / 0.9688 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2773, allocations: 0 / 0.9688 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2774, allocations: 4 kB / 0.9688 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2776, allocations: 55.84 kB / 0.9689 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.2776, allocations: 4 kB / 0.9689 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.278, allocations: 43.81 kB / 0.9689 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.2781, allocations: 11.98 kB / 0.9689 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2781, allocations: 4 kB / 0.9689 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004302/0.2785, allocations: 195.9 kB / 0.9691 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/0.2785, allocations: 0 / 0.9691 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/0.2785, allocations: 0 / 0.9691 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2787, allocations: 43.97 kB / 0.9692 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.2787, allocations: 7.938 kB / 0.9692 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.279, allocations: 43.81 kB / 0.9692 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2791, allocations: 15.98 kB / 0.9692 GB, free: 1.227 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.2793, allocations: 237.7 kB / 0.9695 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.2794, allocations: 43.38 kB / 0.9695 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.28, allocations: 265.1 kB / 0.9698 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.28, allocations: 3.938 kB / 0.9698 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2801, allocations: 0 / 0.9698 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2801, allocations: 4 kB / 0.9698 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2811, allocations: 0.7125 MB / 0.9705 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2811, allocations: 4 kB / 0.9705 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2813, allocations: 31.92 kB / 0.9705 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2813, allocations: 8.125 kB / 0.9705 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2813, allocations: 0 / 0.9705 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/0.2813, allocations: 11.94 kB / 0.9705 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2813, allocations: 0 / 0.9705 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.2818, allocations: 354.2 kB / 0.9709 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.282, allocations: 144.4 kB / 0.971 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.282, allocations: 8 kB / 0.971 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2823, allocations: 27.91 kB / 0.971 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.2823, allocations: 15.98 kB / 0.971 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2823, allocations: 4 kB / 0.971 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003555/0.2827, allocations: 326.9 kB / 0.9714 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2827, allocations: 0 / 0.9714 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006477/0.2834, allocations: 199.7 kB / 0.9715 GB, free: 14.72 MB / 0.6198 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 (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.001226/0.2846, allocations: 0.5275 MB / 0.9721 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006598/0.2853, allocations: 279.7 kB / 0.9723 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2853, allocations: 0 / 0.9723 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2855, allocations: 88.02 kB / 0.9724 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.2868, allocations: 230.3 kB / 0.9726 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2881, allocations: 0.8583 MB / 0.9735 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.2885, allocations: 0.8272 MB / 0.9743 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003243/0.2889, allocations: 91.17 kB / 0.9744 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.289, allocations: 35.42 kB / 0.9744 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 6.72e-07/0.289, allocations: 7.938 kB / 0.9744 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.01661/0.3056, allocations: 8.332 MB / 0.9825 GB, free: 3.613 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)