Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000863/0.0008629, allocations: 175.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4633/0.4633, allocations: 89.08 MB / 105.9 MB, free: 12.44 MB / 90.72 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.284/1.284, allocations: 225.7 MB / 353.3 MB, free: 1.066 MB / 282.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.0007938/0.0007937, allocations: 98.19 kB / 425.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 0.4955 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08581/0.3544, allocations: 112.5 MB / 0.6751 GB, free: 7.766 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02857/0.383, allocations: 27.18 MB / 0.7016 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.3867, allocations: 87.38 kB / 0.7017 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.39, allocations: 1.041 MB / 0.7027 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008988/0.399, allocations: 3.356 MB / 0.706 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007079/0.4061, allocations: 2.827 MB / 0.7088 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.2385/0.6446, allocations: 9.472 MB / 0.718 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.6479, allocations: 2.069 MB / 0.72 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/0.6527, allocations: 2.371 MB / 0.7223 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.6559, allocations: 2.027 MB / 0.7243 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.6564, allocations: 89.5 kB / 0.7244 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.6601, allocations: 1.389 MB / 0.7258 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004783/0.6606, allocations: 0.4975 MB / 0.7263 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.662, allocations: 1.322 MB / 0.7275 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.6657, allocations: 4.14 MB / 0.7316 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6657, allocations: 0 / 0.7316 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6657, allocations: 0 / 0.7316 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.384e-05/0.6657, allocations: 3.938 kB / 0.7316 GB, free: 52.9 MB / 0.5105 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.003265/0.669, allocations: 2.677 MB / 0.7342 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.669, allocations: 8.188 kB / 0.7342 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.6695, allocations: 320.6 kB / 0.7345 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.6721, allocations: 2.127 MB / 0.7366 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.6721, allocations: 127.6 kB / 0.7367 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.6723, allocations: 164.4 kB / 0.7369 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.6745, allocations: 1.609 MB / 0.7384 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.6745, allocations: 0 / 0.7384 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.6746, allocations: 62.97 kB / 0.7385 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.6747, allocations: 49.86 kB / 0.7386 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6764, allocations: 1.141 MB / 0.7397 GB, free: 50.52 MB / 0.5105 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.007735/0.6841, allocations: 7.9 MB / 0.7474 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.6848, allocations: 478.9 kB / 0.7478 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.6852, allocations: 325.7 kB / 0.7482 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/0.6856, allocations: 0.7585 MB / 0.7489 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6856, allocations: 44.62 kB / 0.7489 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 1.974e-06/0.6856, allocations: 0 / 0.7489 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.001499/0.6871, allocations: 1.004 MB / 0.7499 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.6872, allocations: 58.81 kB / 0.75 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.6894, allocations: 2.269 MB / 0.7522 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.6895, allocations: 47.64 kB / 0.7522 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/0.6901, allocations: 1.141 MB / 0.7533 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.6903, allocations: 222.3 kB / 0.7536 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.6903, allocations: 25.03 kB / 0.7536 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.6904, allocations: 344.7 kB / 0.7539 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.6909, allocations: 353.2 kB / 0.7542 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.6916, allocations: 0.7454 MB / 0.755 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6927, allocations: 0.9898 MB / 0.7559 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6927, allocations: 3.469 kB / 0.7559 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001705/0.6944, allocations: 1.289 MB / 0.7572 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.6945, allocations: 344.1 kB / 0.7575 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6946, allocations: 7 kB / 0.7575 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6946, allocations: 15.94 kB / 0.7576 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/0.6955, allocations: 259.2 kB / 0.7578 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.6955, allocations: 18.22 kB / 0.7578 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.697, allocations: 256.8 kB / 0.7581 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.6971, allocations: 53.45 kB / 0.7581 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.6971, allocations: 3.125 kB / 0.7581 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001345/0.6984, allocations: 1.023 MB / 0.7591 GB, free: 42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.6984, allocations: 7.031 kB / 0.7591 GB, free: 42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.6985, allocations: 17.75 kB / 0.7591 GB, free: 42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.6992, allocations: 254.2 kB / 0.7594 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.6993, allocations: 19.45 kB / 0.7594 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.7006, allocations: 228.3 kB / 0.7596 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.7007, allocations: 50.83 kB / 0.7597 GB, free: 41.85 MB / 0.5105 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.0008142/0.7015, allocations: 0.5767 MB / 0.7602 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7017, allocations: 233.1 kB / 0.7605 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.7031, allocations: 0.8991 MB / 0.7613 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.7031, allocations: 6.781 kB / 0.7613 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7031, allocations: 7.875 kB / 0.7613 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008329/0.7039, allocations: 0.6933 MB / 0.762 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.7069, allocations: 2.566 MB / 0.7645 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7069, allocations: 7.984 kB / 0.7645 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.7074, allocations: 129.4 kB / 0.7647 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.7074, allocations: 4 kB / 0.7647 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.7075, allocations: 19.67 kB / 0.7647 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7075, allocations: 6.625 kB / 0.7647 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7075, allocations: 0 / 0.7647 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.709, allocations: 1.317 MB / 0.766 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.7096, allocations: 458.5 kB / 0.7664 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.7098, allocations: 13.19 kB / 0.7664 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/0.7108, allocations: 123.4 kB / 0.7665 GB, free: 38.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.7109, allocations: 43 kB / 0.7666 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.711, allocations: 27.86 kB / 0.7666 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001619/0.7126, allocations: 1.513 MB / 0.7681 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7126, allocations: 0 / 0.7681 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002168/0.7148, allocations: 1.105 MB / 0.7692 GB, free: 36.14 MB / 0.5105 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.001313/0.7161, allocations: 0.791 MB / 0.7699 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.718, allocations: 1.362 MB / 0.7713 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.718, allocations: 4 kB / 0.7713 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.7184, allocations: 333.4 kB / 0.7716 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.7237, allocations: 1.372 MB / 0.7729 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.7284, allocations: 4.575 MB / 0.7774 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.7292, allocations: 1.58 MB / 0.7789 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001729/0.7309, allocations: 0.4899 MB / 0.7794 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.7312, allocations: 180.3 kB / 0.7796 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.7312, allocations: 0 / 0.7796 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.06222/0.7935, allocations: 44.96 MB / 0.8235 GB, free: 14.67 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)