Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadModel(Buildings): time 3.944/3.944, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.027e-05, allocations: 4 kB / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5065, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9547/1.461, allocations: 409.5 MB / 1.029 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.462, allocations: 97.88 kB / 1.029 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.79/4.251, allocations: 0.6396 GB / 1.668 GB, free: 44.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.068e-06/4.252, allocations: 4 kB / 1.668 GB, free: 44.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001989/4.252, allocations: 50.75 kB / 1.669 GB, free: 44.21 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004028/4.256, allocations: 1.763 MB / 1.67 GB, free: 42.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/4.256, allocations: 11.97 kB / 1.67 GB, free: 42.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/4.257, allocations: 205.7 kB / 1.67 GB, free: 42.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/4.261, allocations: 1.612 MB / 1.672 GB, free: 40.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/4.261, allocations: 28 kB / 1.672 GB, free: 40.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/4.261, allocations: 68 kB / 1.672 GB, free: 40.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/4.263, allocations: 0.6405 MB / 1.673 GB, free: 39.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/4.265, allocations: 0.8661 MB / 1.674 GB, free: 38.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/4.265, allocations: 0 / 1.674 GB, free: 38.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/4.265, allocations: 4 kB / 1.674 GB, free: 38.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/4.265, allocations: 24 kB / 1.674 GB, free: 38.91 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.008437/4.273, allocations: 5.535 MB / 1.679 GB, free: 32.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/4.274, allocations: 306.7 kB / 1.679 GB, free: 32.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/4.274, allocations: 185.1 kB / 1.679 GB, free: 32.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/4.275, allocations: 178.2 kB / 1.68 GB, free: 32.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/4.275, allocations: 48.19 kB / 1.68 GB, free: 32.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 3.331e-06/4.275, allocations: 0 / 1.68 GB, free: 32.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.001192/4.276, allocations: 443.6 kB / 1.68 GB, free: 31.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/4.276, allocations: 55.41 kB / 1.68 GB, free: 31.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/4.278, allocations: 1.033 MB / 1.681 GB, free: 30.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/4.278, allocations: 29.7 kB / 1.681 GB, free: 30.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/4.278, allocations: 0.7614 MB / 1.682 GB, free: 29.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/4.278, allocations: 126.2 kB / 1.682 GB, free: 29.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/4.278, allocations: 0 / 1.682 GB, free: 29.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/4.279, allocations: 337.9 kB / 1.682 GB, free: 29.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/4.279, allocations: 197.5 kB / 1.683 GB, free: 29.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/4.28, allocations: 473.2 kB / 1.683 GB, free: 28.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/4.28, allocations: 301.9 kB / 1.683 GB, free: 28.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.988e-06/4.28, allocations: 0 / 1.683 GB, free: 28.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001858/4.282, allocations: 0.759 MB / 1.684 GB, free: 27.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003902/4.283, allocations: 2.042 MB / 1.686 GB, free: 25.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/4.283, allocations: 8 kB / 1.686 GB, free: 25.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/4.283, allocations: 11.94 kB / 1.686 GB, free: 25.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/4.284, allocations: 179.7 kB / 1.686 GB, free: 25.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/4.284, allocations: 8 kB / 1.686 GB, free: 25.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/4.285, allocations: 135 kB / 1.686 GB, free: 25.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/4.285, allocations: 35.98 kB / 1.686 GB, free: 25.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/4.285, allocations: 5.875 kB / 1.686 GB, free: 25.02 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/4.287, allocations: 0.5672 MB / 1.687 GB, free: 24.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/4.287, allocations: 11.95 kB / 1.687 GB, free: 24.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/4.287, allocations: 8 kB / 1.687 GB, free: 24.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/4.288, allocations: 180.3 kB / 1.687 GB, free: 24.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/4.288, allocations: 8 kB / 1.687 GB, free: 24.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/4.289, allocations: 115.3 kB / 1.687 GB, free: 24.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/4.289, allocations: 31.98 kB / 1.687 GB, free: 24.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0002003/4.29, allocations: 129.7 kB / 1.687 GB, free: 23.97 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/4.29, allocations: 130.3 kB / 1.688 GB, free: 23.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/4.291, allocations: 461.8 kB / 1.688 GB, free: 23.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.851e-06/4.291, allocations: 7.984 kB / 1.688 GB, free: 23.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-06/4.291, allocations: 0 / 1.688 GB, free: 23.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006703/4.292, allocations: 0.6366 MB / 1.689 GB, free: 22.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/4.295, allocations: 1.44 MB / 1.69 GB, free: 21.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.293e-06/4.295, allocations: 0 / 1.69 GB, free: 21.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/4.295, allocations: 87.88 kB / 1.69 GB, free: 21.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.636e-06/4.295, allocations: 0 / 1.69 GB, free: 21.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/4.295, allocations: 8 kB / 1.69 GB, free: 21.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-06/4.295, allocations: 0 / 1.69 GB, free: 21.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/4.295, allocations: 8 kB / 1.69 GB, free: 21.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/4.297, allocations: 0.6962 MB / 1.691 GB, free: 20.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/4.297, allocations: 294.7 kB / 1.691 GB, free: 20.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/4.297, allocations: 11.92 kB / 1.691 GB, free: 20.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/4.299, allocations: 95.88 kB / 1.691 GB, free: 19.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/4.299, allocations: 23.97 kB / 1.691 GB, free: 19.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/4.299, allocations: 19.98 kB / 1.691 GB, free: 19.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001321/4.3, allocations: 0.7746 MB / 1.692 GB, free: 19.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.17e-07/4.3, allocations: 0 / 1.692 GB, free: 19.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003045/4.303, allocations: 0.8064 MB / 1.693 GB, free: 18.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 Backend phase and start with SimCode phase: time 0.001359/4.305, allocations: 0.7303 MB / 1.694 GB, free: 17.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00166/4.306, allocations: 0.8063 MB / 1.694 GB, free: 16.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.817e-06/4.306, allocations: 4.438 kB / 1.694 GB, free: 16.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/4.307, allocations: 159.8 kB / 1.694 GB, free: 16.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/4.311, allocations: 0.7978 MB / 1.695 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/4.315, allocations: 1.656 MB / 1.697 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/4.316, allocations: 1.266 MB / 1.698 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002187/4.318, allocations: 362.2 kB / 1.698 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/4.318, allocations: 83.41 kB / 1.699 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.635e-06/4.318, allocations: 0 / 1.699 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.0655/4.384, allocations: 28.32 MB / 1.726 GB, free: 416 kB / 0.823 GB