Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001441/0.00144, allocations: 188.3 kB / 329.5 MB, free: 1.172 MB / 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 2.54/2.54, allocations: 225.6 MB / 0.6001 GB, free: 2.105 MB / 426.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.001165/0.001165, allocations: 98.16 kB / 0.7074 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 12.91 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 109.1 MB / 0.9308 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01852/0.2418, allocations: 14.36 MB / 0.9448 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.2548, allocations: 6.771 MB / 0.9514 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.2556, allocations: 15.88 kB / 0.9514 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.2566, allocations: 194.9 kB / 0.9516 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.2585, allocations: 493.4 kB / 0.9521 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.261, allocations: 0.5963 MB / 0.9527 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2627, allocations: 1.138 MB / 0.9538 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.2633, allocations: 270.5 kB / 0.954 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008217/0.2642, allocations: 354.4 kB / 0.9544 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.2648, allocations: 290.7 kB / 0.9546 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.2648, allocations: 16 kB / 0.9547 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2664, allocations: 0.5459 MB / 0.9552 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.2665, allocations: 79.61 kB / 0.9553 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2667, allocations: 105.5 kB / 0.9554 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2679, allocations: 0.5182 MB / 0.9559 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2679, allocations: 0 / 0.9559 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2679, allocations: 0 / 0.9559 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2679, allocations: 4 kB / 0.9559 GB, free: 15.29 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.001674/0.2696, allocations: 0.7476 MB / 0.9566 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2697, allocations: 11.97 kB / 0.9566 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2698, allocations: 52.38 kB / 0.9567 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.2706, allocations: 401 kB / 0.957 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.2707, allocations: 20.44 kB / 0.9571 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.2708, allocations: 24 kB / 0.9571 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.2715, allocations: 223.2 kB / 0.9573 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2715, allocations: 3.938 kB / 0.9573 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.2715, allocations: 8 kB / 0.9573 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2715, allocations: 8 kB / 0.9573 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.2722, allocations: 173.6 kB / 0.9575 GB, free: 13.53 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.002458/0.2747, allocations: 0.9496 MB / 0.9584 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.2752, allocations: 130.6 kB / 0.9585 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.2754, allocations: 72.81 kB / 0.9586 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/0.2759, allocations: 340.4 kB / 0.9589 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2759, allocations: 34.56 kB / 0.959 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.2759, allocations: 0 / 0.959 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001069/0.277, allocations: 261 kB / 0.9592 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2771, allocations: 55.41 kB / 0.9593 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.2779, allocations: 458 kB / 0.9597 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.2779, allocations: 33.7 kB / 0.9597 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2782, allocations: 228.6 kB / 0.96 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.2783, allocations: 55.28 kB / 0.96 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.2783, allocations: 4 kB / 0.96 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2785, allocations: 354.7 kB / 0.9603 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.2788, allocations: 67.95 kB / 0.9604 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.2792, allocations: 159.6 kB / 0.9606 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.2796, allocations: 79.88 kB / 0.9606 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2796, allocations: 0 / 0.9606 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00087/0.2805, allocations: 257 kB / 0.9609 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.2806, allocations: 106.7 kB / 0.961 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2806, allocations: 0 / 0.961 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2806, allocations: 11.94 kB / 0.961 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.281, allocations: 51.91 kB / 0.961 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2811, allocations: 0 / 0.961 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.2817, allocations: 43.72 kB / 0.9611 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.2818, allocations: 11.98 kB / 0.9611 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.2818, allocations: 11.94 kB / 0.9611 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007202/0.2825, allocations: 183.8 kB / 0.9613 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2825, allocations: 4 kB / 0.9613 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.2826, allocations: 4 kB / 0.9613 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.2829, allocations: 51.91 kB / 0.9613 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.283, allocations: 7.984 kB / 0.9614 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.2835, allocations: 35.91 kB / 0.9614 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.2836, allocations: 19.92 kB / 0.9614 GB, free: 9.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.2839, allocations: 245 kB / 0.9616 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.284, allocations: 43.62 kB / 0.9617 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008987/0.2849, allocations: 264.9 kB / 0.9619 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.2849, allocations: 4 kB / 0.9619 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2849, allocations: 0 / 0.9619 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.285, allocations: 0 / 0.9619 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.2865, allocations: 0.7122 MB / 0.9626 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2865, allocations: 0 / 0.9626 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.2868, allocations: 31.98 kB / 0.9627 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.2868, allocations: 0 / 0.9627 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2868, allocations: 7.938 kB / 0.9627 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2868, allocations: 0 / 0.9627 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2869, allocations: 4 kB / 0.9627 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.2876, allocations: 362.5 kB / 0.963 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.2879, allocations: 140.5 kB / 0.9632 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.288, allocations: 11.94 kB / 0.9632 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.2884, allocations: 23.88 kB / 0.9632 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.2885, allocations: 23.92 kB / 0.9632 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2885, allocations: 4 kB / 0.9632 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005656/0.2891, allocations: 326.9 kB / 0.9635 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2891, allocations: 0 / 0.9635 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009347/0.2901, allocations: 195.7 kB / 0.9637 GB, free: 6.746 MB / 0.6042 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.001511/0.2916, allocations: 0.5214 MB / 0.9642 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.2927, allocations: 279.6 kB / 0.9645 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2928, allocations: 3.938 kB / 0.9645 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.2931, allocations: 87.83 kB / 0.9646 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.2954, allocations: 232.2 kB / 0.9648 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2974, allocations: 0.8265 MB / 0.9656 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.2979, allocations: 0.8311 MB / 0.9664 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.2985, allocations: 91.38 kB / 0.9665 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.2987, allocations: 35.44 kB / 0.9665 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2987, allocations: 0 / 0.9665 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of Templates: time 0.02546/0.3242, allocations: 8.094 MB / 0.9744 GB, free: 11.9 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)