Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.793/1.793, allocations: 306.1 MB / 321.4 MB, free: 10.78 MB / 250.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.001397/0.001398, allocations: 175.5 kB / 393.1 MB, free: 4.117 MB / 314.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.498/1.498, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008576, allocations: 108.8 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 0.9224 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.748, allocations: 121.3 MB / 1.041 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09687/0.8449, allocations: 112.5 MB / 1.151 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.04025/0.8852, allocations: 27.2 MB / 1.177 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005642/0.8909, allocations: 91.44 kB / 1.177 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.8955, allocations: 1.032 MB / 1.178 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.9088, allocations: 3.355 MB / 1.182 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.9192, allocations: 2.832 MB / 1.184 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01518/0.9344, allocations: 9.485 MB / 1.194 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/0.9394, allocations: 2.064 MB / 1.196 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007425/0.9468, allocations: 2.373 MB / 1.198 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006573/0.9534, allocations: 2.036 MB / 1.2 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.9548, allocations: 88 kB / 1.2 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/0.9619, allocations: 1.382 MB / 1.201 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.964, allocations: 0.4949 MB / 1.202 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004719/0.9687, allocations: 1.334 MB / 1.203 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.9801, allocations: 4.131 MB / 1.207 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.9802, allocations: 8 kB / 1.207 GB, free: 8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.052e-06/0.9802, allocations: 0 / 1.207 GB, free: 8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003078/0.9805, allocations: 0 / 1.207 GB, free: 8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01037/0.9909, allocations: 2.666 MB / 1.21 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/0.991, allocations: 12.03 kB / 1.21 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.9928, allocations: 320.6 kB / 1.21 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/1, allocations: 2.123 MB / 1.212 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/1, allocations: 127 kB / 1.212 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/1.001, allocations: 164 kB / 1.213 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005615/1.007, allocations: 1.608 MB / 1.214 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/1.007, allocations: 0 / 1.214 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/1.007, allocations: 64 kB / 1.214 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.664e-05/1.007, allocations: 51.86 kB / 1.214 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/1.011, allocations: 1.147 MB / 1.215 GB, free: 15.52 MB / 0.7917 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.01845/1.029, allocations: 7.888 MB / 1.223 GB, free: 7.121 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/1.031, allocations: 474.5 kB / 1.224 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/1.032, allocations: 329.4 kB / 1.224 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.033, allocations: 0.7524 MB / 1.225 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/1.033, allocations: 43.12 kB / 1.225 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=60): time 4.328e-06/1.033, allocations: 4 kB / 1.225 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of matching and sorting (n=60): time 0.00356/1.036, allocations: 0.9997 MB / 1.226 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.036, allocations: 55.97 kB / 1.226 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006363/1.043, allocations: 2.271 MB / 1.228 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/1.043, allocations: 49.7 kB / 1.228 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/1.045, allocations: 1.141 MB / 1.229 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/1.045, allocations: 216.9 kB / 1.229 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.045, allocations: 23.94 kB / 1.229 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000213/1.046, allocations: 345.9 kB / 1.23 GB, free: 220 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.047, allocations: 350.5 kB / 1.23 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.048, allocations: 0.7541 MB / 1.231 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/1.051, allocations: 0.9824 MB / 1.232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.051, allocations: 4 kB / 1.232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004101/1.055, allocations: 1.303 MB / 1.233 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003589/1.055, allocations: 346.9 kB / 1.233 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/1.056, allocations: 8 kB / 1.233 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-05/1.056, allocations: 16 kB / 1.233 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.057, allocations: 259.6 kB / 1.234 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.49e-05/1.057, allocations: 19.92 kB / 1.234 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.061, allocations: 250.1 kB / 1.234 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.061, allocations: 59.97 kB / 1.234 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.061, allocations: 4 kB / 1.234 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002904/1.064, allocations: 1.019 MB / 1.235 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.064, allocations: 8 kB / 1.235 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/1.064, allocations: 16 kB / 1.235 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.065, allocations: 251.6 kB / 1.235 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.16e-05/1.066, allocations: 27.91 kB / 1.235 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/1.069, allocations: 226.9 kB / 1.235 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.069, allocations: 47.98 kB / 1.235 GB, free: 9.891 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001808/1.071, allocations: 0.571 MB / 1.236 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009758/1.072, allocations: 236.9 kB / 1.236 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/1.075, allocations: 0.8934 MB / 1.237 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.075, allocations: 8 kB / 1.237 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.075, allocations: 0 / 1.237 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00167/1.076, allocations: 0.697 MB / 1.238 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/1.084, allocations: 2.569 MB / 1.24 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.084, allocations: 0 / 1.24 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/1.085, allocations: 127.9 kB / 1.24 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.085, allocations: 4 kB / 1.24 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/1.085, allocations: 19.98 kB / 1.24 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/1.085, allocations: 0 / 1.24 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.085, allocations: 7.938 kB / 1.24 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.089, allocations: 1.321 MB / 1.242 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.092, allocations: 453.8 kB / 1.242 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.093, allocations: 12 kB / 1.242 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.095, allocations: 119.7 kB / 1.242 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.095, allocations: 40.52 kB / 1.242 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.095, allocations: 35.91 kB / 1.242 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004683/1.1, allocations: 1.514 MB / 1.244 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.31e-07/1.1, allocations: 11.88 kB / 1.244 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005981/1.106, allocations: 1.099 MB / 1.245 GB, free: 0 / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002768/1.109, allocations: 0.7833 MB / 1.246 GB, free: 15.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004491/1.113, allocations: 1.366 MB / 1.247 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.113, allocations: 4.188 kB / 1.247 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.114, allocations: 331 kB / 1.247 GB, free: 13.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/1.127, allocations: 1.378 MB / 1.249 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.138, allocations: 4.576 MB / 1.253 GB, free: 7.652 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.141, allocations: 1.59 MB / 1.255 GB, free: 6.031 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004444/1.146, allocations: 0.4906 MB / 1.255 GB, free: 5.539 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/1.146, allocations: 167.4 kB / 1.255 GB, free: 5.375 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/1.147, allocations: 0 / 1.255 GB, free: 5.375 MB / 0.823 GB Notification: Performance of Templates: time 0.113/1.259, allocations: 44.95 MB / 1.299 GB, free: 9.039 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)