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.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.419/2.419, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.00133/0.00133, allocations: 192.8 kB / 329.5 MB, free: 1.152 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.383/2.383, allocations: 225.6 MB / 0.6001 GB, free: 2.23 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.0009703/0.00097, allocations: 94.64 kB / 0.7074 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001125, allocations: 11.66 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2418, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.05097/0.2928, allocations: 24.39 MB / 0.9546 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03161/0.3245, allocations: 9.876 MB / 0.9642 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.3266, allocations: 31.69 kB / 0.9643 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.3285, allocations: 262.2 kB / 0.9645 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.3346, allocations: 0.9209 MB / 0.9654 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005606/0.3402, allocations: 0.8772 MB / 0.9663 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006992/0.3472, allocations: 2.735 MB / 0.9689 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.3499, allocations: 0.7874 MB / 0.9697 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.3538, allocations: 1.02 MB / 0.9707 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.3578, allocations: 0.9732 MB / 0.9716 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005477/0.3584, allocations: 43.98 kB / 0.9717 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.3622, allocations: 0.8227 MB / 0.9725 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.3629, allocations: 215.2 kB / 0.9727 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.3635, allocations: 201.2 kB / 0.9729 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.3665, allocations: 1.118 MB / 0.974 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3665, allocations: 0 / 0.974 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3665, allocations: 3.938 kB / 0.974 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.3666, allocations: 0 / 0.974 GB, free: 12.7 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004173/0.3707, allocations: 1.161 MB / 0.9751 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.3708, allocations: 16.03 kB / 0.9751 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.3713, allocations: 119.6 kB / 0.9752 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.3737, allocations: 0.6278 MB / 0.9759 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3738, allocations: 57 kB / 0.9759 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.3742, allocations: 84 kB / 0.976 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3758, allocations: 0.5608 MB / 0.9765 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.3758, allocations: 4 kB / 0.9765 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.3759, allocations: 20 kB / 0.9766 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.3759, allocations: 12 kB / 0.9766 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.3773, allocations: 419.6 kB / 0.977 GB, free: 9.508 MB / 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.006405/0.3837, allocations: 2.532 MB / 0.9795 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.3846, allocations: 280.2 kB / 0.9797 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.3852, allocations: 133.5 kB / 0.9798 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.3856, allocations: 344.4 kB / 0.9802 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.3856, allocations: 34.56 kB / 0.9802 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=29): time 3.537e-06/0.3857, allocations: 8.219 kB / 0.9802 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29): time 0.002015/0.3877, allocations: 487.6 kB / 0.9807 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3878, allocations: 59.34 kB / 0.9807 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3891, allocations: 0.7435 MB / 0.9815 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.3894, allocations: 49.7 kB / 0.9815 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000605/0.39, allocations: 448.5 kB / 0.9819 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3902, allocations: 90.66 kB / 0.982 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3902, allocations: 8 kB / 0.982 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3904, allocations: 333.9 kB / 0.9824 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.391, allocations: 157 kB / 0.9825 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.3927, allocations: 0.7712 MB / 0.9833 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.3935, allocations: 229.1 kB / 0.9835 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3935, allocations: 11.94 kB / 0.9835 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00215/0.3957, allocations: 0.5498 MB / 0.984 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.3958, allocations: 150.8 kB / 0.9842 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3959, allocations: 4 kB / 0.9842 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3959, allocations: 4 kB / 0.9842 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.3982, allocations: 203.6 kB / 0.9844 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.4003, allocations: 2.364 MB / 0.9867 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005974/0.4063, allocations: 0.6905 MB / 0.9873 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.4065, allocations: 27.98 kB / 0.9874 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4066, allocations: 4 kB / 0.9874 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/0.4082, allocations: 442.2 kB / 0.9878 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4082, allocations: 4 kB / 0.9878 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4082, allocations: 12.16 kB / 0.9878 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4094, allocations: 139.8 kB / 0.9879 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.4094, allocations: 7.938 kB / 0.988 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/0.4151, allocations: 0.6789 MB / 0.9886 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4154, allocations: 23.98 kB / 0.9886 GB, free: 12.95 MB / 0.6355 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007748/0.4161, allocations: 295 kB / 0.9889 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.4164, allocations: 78.97 kB / 0.989 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4182, allocations: 485.4 kB / 0.9895 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.4183, allocations: 4 kB / 0.9895 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.4183, allocations: 4 kB / 0.9895 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.4183, allocations: 3.984 kB / 0.9895 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.4218, allocations: 1.148 MB / 0.9906 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4219, allocations: 0 / 0.9906 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.4229, allocations: 99.86 kB / 0.9907 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.4229, allocations: 4 kB / 0.9907 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.423, allocations: 11.98 kB / 0.9907 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.4247, allocations: 2.372 MB / 0.993 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4247, allocations: 0 / 0.993 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4263, allocations: 0.5248 MB / 0.9935 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.4268, allocations: 207.9 kB / 0.9937 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.427, allocations: 11.94 kB / 0.9937 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.4279, allocations: 55.84 kB / 0.9938 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.428, allocations: 27.97 kB / 0.9938 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.4281, allocations: 8 kB / 0.9938 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001053/0.4291, allocations: 0.5068 MB / 0.9943 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.82e-07/0.4292, allocations: 0 / 0.9943 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002047/0.4312, allocations: 459.2 kB / 0.9948 GB, free: 6.457 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009939/0.4322, allocations: 331.5 kB / 0.9951 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.4362, allocations: 0.7247 MB / 0.9958 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4363, allocations: 0 / 0.9958 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4373, allocations: 214.7 kB / 0.996 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/0.4417, allocations: 430.7 kB / 0.9964 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.4453, allocations: 1.513 MB / 0.9979 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.4461, allocations: 0.9697 MB / 0.9988 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00139/0.4475, allocations: 182 kB / 0.999 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4478, allocations: 67.42 kB / 0.9991 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4478, allocations: 0 / 0.9991 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of Templates: time 0.06165/0.5094, allocations: 19.44 MB / 1.018 GB, free: 14.81 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)