Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.046e-05, allocations: 3.281 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2443, allocations: 98.75 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.517, allocations: 409.5 MB / 1.029 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005368/1.518, allocations: 98 kB / 1.029 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.43/4.948, allocations: 0.6395 GB / 1.668 GB, free: 65.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.254e-06/4.948, allocations: 0 / 1.668 GB, free: 65.32 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002578/4.948, allocations: 52.47 kB / 1.668 GB, free: 65.27 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005199/4.953, allocations: 1.764 MB / 1.67 GB, free: 63.47 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/4.953, allocations: 12.03 kB / 1.67 GB, free: 63.46 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/4.955, allocations: 205.6 kB / 1.67 GB, free: 63.26 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/4.961, allocations: 1.609 MB / 1.672 GB, free: 61.63 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/4.961, allocations: 32 kB / 1.672 GB, free: 61.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/4.961, allocations: 71.95 kB / 1.672 GB, free: 61.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/4.963, allocations: 0.6366 MB / 1.673 GB, free: 60.89 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/4.965, allocations: 0.8622 MB / 1.674 GB, free: 60 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/4.965, allocations: 0 / 1.674 GB, free: 60 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/4.965, allocations: 0 / 1.674 GB, free: 60 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/4.965, allocations: 28 kB / 1.674 GB, free: 59.97 MB / 0.823 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.01079/4.976, allocations: 5.528 MB / 1.679 GB, free: 54.04 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/4.977, allocations: 310.4 kB / 1.679 GB, free: 53.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/4.977, allocations: 185.2 kB / 1.679 GB, free: 53.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/4.977, allocations: 178.1 kB / 1.68 GB, free: 53.33 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/4.977, allocations: 38.56 kB / 1.68 GB, free: 53.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.657e-06/4.977, allocations: 0 / 1.68 GB, free: 53.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.001504/4.979, allocations: 452.1 kB / 1.68 GB, free: 52.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/4.979, allocations: 55.41 kB / 1.68 GB, free: 52.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/4.981, allocations: 1.037 MB / 1.681 GB, free: 51.73 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/4.981, allocations: 29.7 kB / 1.681 GB, free: 51.69 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/4.982, allocations: 0.7614 MB / 1.682 GB, free: 50.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/4.982, allocations: 122.2 kB / 1.682 GB, free: 50.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/4.982, allocations: 0 / 1.682 GB, free: 50.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/4.982, allocations: 341.9 kB / 1.682 GB, free: 50.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/4.983, allocations: 197.5 kB / 1.683 GB, free: 50.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/4.984, allocations: 477.2 kB / 1.683 GB, free: 49.68 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/4.985, allocations: 303.1 kB / 1.683 GB, free: 49.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/4.985, allocations: 4 kB / 1.683 GB, free: 49.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002253/4.987, allocations: 0.7431 MB / 1.684 GB, free: 48.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004921/4.987, allocations: 2.053 MB / 1.686 GB, free: 46.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/4.987, allocations: 7.125 kB / 1.686 GB, free: 46.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/4.987, allocations: 12 kB / 1.686 GB, free: 46.44 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/4.989, allocations: 179.7 kB / 1.686 GB, free: 46.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/4.989, allocations: 12 kB / 1.686 GB, free: 46.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/4.993, allocations: 135 kB / 1.686 GB, free: 46.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/4.993, allocations: 35.98 kB / 1.686 GB, free: 46.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/4.993, allocations: 4 kB / 1.686 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002573/4.996, allocations: 0.5672 MB / 1.687 GB, free: 45.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/4.996, allocations: 4.625 kB / 1.687 GB, free: 45.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/4.996, allocations: 12 kB / 1.687 GB, free: 45.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/4.998, allocations: 179.7 kB / 1.687 GB, free: 45.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/4.998, allocations: 11.98 kB / 1.687 GB, free: 45.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/5.001, allocations: 111.3 kB / 1.687 GB, free: 45.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/5.001, allocations: 35.98 kB / 1.687 GB, free: 45.16 MB / 0.823 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.0002801/5.001, allocations: 126.3 kB / 1.687 GB, free: 45.04 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001232/5.002, allocations: 423.6 kB / 1.688 GB, free: 44.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/5.003, allocations: 134.3 kB / 1.688 GB, free: 44.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/5.004, allocations: 446 kB / 1.688 GB, free: 44.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/5.004, allocations: 8 kB / 1.688 GB, free: 44.03 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/5.004, allocations: 4 kB / 1.688 GB, free: 44.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008083/5.005, allocations: 0.6327 MB / 1.689 GB, free: 43.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/5.008, allocations: 1.439 MB / 1.69 GB, free: 41.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/5.008, allocations: 0 / 1.69 GB, free: 41.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/5.009, allocations: 95.88 kB / 1.69 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/5.009, allocations: 4 kB / 1.691 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/5.009, allocations: 0 / 1.691 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/5.009, allocations: 7.688 kB / 1.691 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.009, allocations: 0 / 1.691 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/5.011, allocations: 0.7158 MB / 1.691 GB, free: 40.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/5.012, allocations: 283.2 kB / 1.691 GB, free: 40.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/5.012, allocations: 0 / 1.691 GB, free: 40.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/5.013, allocations: 111.7 kB / 1.692 GB, free: 40.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/5.014, allocations: 23.97 kB / 1.692 GB, free: 40.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/5.014, allocations: 16 kB / 1.692 GB, free: 40.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001524/5.015, allocations: 0.7708 MB / 1.692 GB, free: 39.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.71e-07/5.015, allocations: 0 / 1.692 GB, free: 39.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003621/5.019, allocations: 0.8103 MB / 1.693 GB, free: 38.96 MB / 0.823 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.003299/5.022, allocations: 1.887 MB / 1.695 GB, free: 37.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001981/5.024, allocations: 0.8108 MB / 1.696 GB, free: 36.31 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/5.024, allocations: 7.938 kB / 1.696 GB, free: 36.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/5.025, allocations: 159.8 kB / 1.696 GB, free: 36.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/5.032, allocations: 0.8025 MB / 1.697 GB, free: 35.36 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/5.038, allocations: 1.956 MB / 1.699 GB, free: 33.35 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/5.039, allocations: 1.266 MB / 1.7 GB, free: 32.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002634/5.042, allocations: 365.4 kB / 1.7 GB, free: 31.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/5.043, allocations: 0.55 MB / 1.701 GB, free: 31.14 MB / 0.823 GB Notification: Performance of SimCode: time 1.292e-06/5.043, allocations: 4 kB / 1.701 GB, free: 31.14 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7576/5.8, allocations: 40.46 MB / 1.74 GB, free: 126.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/5.801, allocations: 183.6 kB / 1.74 GB, free: 125.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.795/10.6, allocations: 0 / 1.74 GB, free: 125.9 MB / 0.823 GB