Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.03/2.03, allocations: 306.1 MB / 321.3 MB, free: 10.73 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.001352/0.001352, allocations: 184.1 kB / 393.1 MB, free: 4.086 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.459/1.459, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0009366/0.0009366, allocations: 98.06 kB / 0.7935 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8.781 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6216, allocations: 121.3 MB / 1.041 GB, free: 59.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1362/0.7578, allocations: 154.5 MB / 1.192 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05079/0.8086, allocations: 39.23 MB / 1.23 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00778/0.8165, allocations: 115.2 kB / 1.23 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.8198, allocations: 0.8193 MB / 1.231 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009373/0.8292, allocations: 2.888 MB / 1.234 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.8359, allocations: 2.286 MB / 1.236 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008909/0.8448, allocations: 7.362 MB / 1.243 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.848, allocations: 1.835 MB / 1.245 GB, free: 76 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006298/0.8544, allocations: 2.423 MB / 1.247 GB, free: 13.64 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.858, allocations: 1.902 MB / 1.249 GB, free: 11.73 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000788/0.8588, allocations: 96 kB / 1.249 GB, free: 11.64 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.8621, allocations: 0.9046 MB / 1.25 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.8627, allocations: 425.9 kB / 1.251 GB, free: 10.31 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.8648, allocations: 1.152 MB / 1.252 GB, free: 9.148 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.8692, allocations: 3.114 MB / 1.255 GB, free: 6.023 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8692, allocations: 0 / 1.255 GB, free: 6.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8692, allocations: 0 / 1.255 GB, free: 6.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.173e-05/0.8693, allocations: 4 kB / 1.255 GB, free: 6.02 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004855/0.8742, allocations: 2.336 MB / 1.257 GB, free: 3.621 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8742, allocations: 8.031 kB / 1.257 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.8746, allocations: 264.8 kB / 1.257 GB, free: 3.352 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.8768, allocations: 1.438 MB / 1.259 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.8769, allocations: 106.3 kB / 1.259 GB, free: 1.734 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.8771, allocations: 136 kB / 1.259 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.8792, allocations: 1.159 MB / 1.26 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8793, allocations: 0 / 1.26 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/0.8794, allocations: 48 kB / 1.26 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.8794, allocations: 28 kB / 1.26 GB, free: 348 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.8812, allocations: 1.016 MB / 1.261 GB, free: 15.32 MB / 0.8386 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.009881/0.8911, allocations: 6.355 MB / 1.267 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.892, allocations: 0.572 MB / 1.268 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.8927, allocations: 394.4 kB / 1.268 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.8931, allocations: 0.503 MB / 1.269 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.8932, allocations: 43.11 kB / 1.269 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00155/0.8947, allocations: 334.7 kB / 1.269 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=58): time 3.476e-06/0.8947, allocations: 0 / 1.269 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58): time 0.002009/0.8968, allocations: 1.133 MB / 1.27 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8968, allocations: 63.91 kB / 1.27 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.8991, allocations: 1.86 MB / 1.272 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.8992, allocations: 49.7 kB / 1.272 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/0.8999, allocations: 0.9106 MB / 1.273 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.9001, allocations: 205 kB / 1.273 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.9002, allocations: 24 kB / 1.273 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9003, allocations: 353.9 kB / 1.274 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.9011, allocations: 434.4 kB / 1.274 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.9021, allocations: 0.6801 MB / 1.275 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.9036, allocations: 0.9618 MB / 1.276 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9036, allocations: 0 / 1.276 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002379/0.906, allocations: 1.393 MB / 1.277 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.9061, allocations: 194.1 kB / 1.277 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.9061, allocations: 4 kB / 1.277 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9062, allocations: 12 kB / 1.277 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.9074, allocations: 287.5 kB / 1.277 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.9074, allocations: 12 kB / 1.277 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.9091, allocations: 159.5 kB / 1.278 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.9093, allocations: 59.95 kB / 1.278 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.9093, allocations: 4 kB / 1.278 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/0.9112, allocations: 1.14 MB / 1.279 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9112, allocations: 8 kB / 1.279 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.9112, allocations: 8 kB / 1.279 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.9124, allocations: 287.6 kB / 1.279 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.9124, allocations: 15.92 kB / 1.279 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.9139, allocations: 159.6 kB / 1.279 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.914, allocations: 59.89 kB / 1.279 GB, free: 11.85 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0008098/0.9148, allocations: 444.8 kB / 1.28 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.9151, allocations: 201.4 kB / 1.28 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.9171, allocations: 1.068 MB / 1.281 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.9172, allocations: 8 kB / 1.281 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9172, allocations: 4 kB / 1.281 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9172, allocations: 7.922 kB / 1.281 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.9209, allocations: 2.402 MB / 1.283 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9209, allocations: 0 / 1.283 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.9215, allocations: 135.8 kB / 1.283 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9215, allocations: 4.094 kB / 1.283 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.9216, allocations: 27.97 kB / 1.283 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.9216, allocations: 4 kB / 1.283 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9216, allocations: 0 / 1.283 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.923, allocations: 1.066 MB / 1.285 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.9237, allocations: 370.3 kB / 1.285 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.9239, allocations: 12 kB / 1.285 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.9248, allocations: 99.69 kB / 1.285 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.925, allocations: 60.47 kB / 1.285 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.925, allocations: 23.98 kB / 1.285 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001671/0.9267, allocations: 1.22 MB / 1.286 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9267, allocations: 4 kB / 1.286 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00214/0.9289, allocations: 0.9082 MB / 1.287 GB, free: 3.637 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * 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.0007346/0.9296, allocations: 358.8 kB / 1.287 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.9324, allocations: 1.606 MB / 1.289 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9324, allocations: 0 / 1.289 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.933, allocations: 396.7 kB / 1.289 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/0.9387, allocations: 1.14 MB / 1.291 GB, free: 168 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008/0.9467, allocations: 3.715 MB / 1.294 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.9489, allocations: 1.401 MB / 1.296 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003925/0.9528, allocations: 395.7 kB / 1.296 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009894/0.9539, allocations: 163.4 kB / 1.296 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/0.9539, allocations: 0 / 1.296 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.5147/1.469, allocations: 37.06 MB / 1.332 GB, free: 225.4 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)