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.TwoWayValvesMotor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.096/4.096, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.974e-05, allocations: 4.156 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.643, allocations: 386.1 MB / 1.012 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004967/1.644, allocations: 90.89 kB / 1.012 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/3.283, allocations: 290.4 MB / 1.296 GB, free: 121.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/3.283, allocations: 0 / 1.296 GB, free: 121.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001322/3.283, allocations: 31.92 kB / 1.296 GB, free: 121.3 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.005485/3.289, allocations: 1.217 MB / 1.297 GB, free: 120 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.168e-05/3.289, allocations: 12.03 kB / 1.297 GB, free: 120 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003926/3.289, allocations: 102.5 kB / 1.297 GB, free: 119.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/3.29, allocations: 110.7 kB / 1.297 GB, free: 119.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/3.294, allocations: 0.6523 MB / 1.298 GB, free: 119.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/3.294, allocations: 49.3 kB / 1.298 GB, free: 119 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/3.294, allocations: 67.94 kB / 1.298 GB, free: 119 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/3.296, allocations: 0.6173 MB / 1.298 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/3.296, allocations: 0 / 1.298 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/3.297, allocations: 27.98 kB / 1.298 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/3.297, allocations: 12 kB / 1.298 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/3.298, allocations: 404.1 kB / 1.299 GB, free: 117.9 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.005386/3.304, allocations: 2.396 MB / 1.301 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/3.304, allocations: 310.7 kB / 1.301 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/3.305, allocations: 173.1 kB / 1.302 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/3.305, allocations: 340.4 kB / 1.302 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/3.306, allocations: 321.7 kB / 1.302 GB, free: 114.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/3.306, allocations: 0 / 1.302 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.001402/3.307, allocations: 480.4 kB / 1.303 GB, free: 113.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/3.307, allocations: 251.6 kB / 1.303 GB, free: 113.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/3.309, allocations: 0.6973 MB / 1.304 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/3.309, allocations: 41.7 kB / 1.304 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/3.309, allocations: 436.4 kB / 1.304 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/3.31, allocations: 118.4 kB / 1.304 GB, free: 112 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/3.31, allocations: 8.328 kB / 1.304 GB, free: 112 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/3.31, allocations: 330 kB / 1.304 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/3.31, allocations: 185.1 kB / 1.305 GB, free: 111.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/3.311, allocations: 388.8 kB / 1.305 GB, free: 111 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/3.311, allocations: 247.1 kB / 1.305 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/3.311, allocations: 0 / 1.305 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0017/3.313, allocations: 0.6474 MB / 1.306 GB, free: 110.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/3.313, allocations: 0.9156 MB / 1.307 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/3.313, allocations: 4 kB / 1.307 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/3.313, allocations: 7.953 kB / 1.307 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/3.315, allocations: 143.8 kB / 1.307 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/3.316, allocations: 1.778 MB / 1.309 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/3.318, allocations: 131.4 kB / 1.309 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/3.318, allocations: 28 kB / 1.309 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/3.318, allocations: 7.984 kB / 1.309 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/3.32, allocations: 0.5527 MB / 1.309 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/3.32, allocations: 4 kB / 1.309 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/3.32, allocations: 4 kB / 1.309 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/3.321, allocations: 136.1 kB / 1.309 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/3.321, allocations: 11.89 kB / 1.309 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/3.322, allocations: 115.4 kB / 1.31 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/3.323, allocations: 35.98 kB / 1.31 GB, free: 106.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000328/3.323, allocations: 170.6 kB / 1.31 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/3.323, allocations: 86.97 kB / 1.31 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/3.325, allocations: 0.5535 MB / 1.31 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/3.325, allocations: 0 / 1.31 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/3.325, allocations: 0 / 1.31 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/3.325, allocations: 11.95 kB / 1.31 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/3.328, allocations: 1.204 MB / 1.312 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/3.328, allocations: 3.938 kB / 1.312 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/3.328, allocations: 87.81 kB / 1.312 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/3.328, allocations: 4 kB / 1.312 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/3.328, allocations: 15.94 kB / 1.312 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007235/3.329, allocations: 1.762 MB / 1.313 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.329, allocations: 0 / 1.313 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/3.331, allocations: 0.7945 MB / 1.314 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/3.332, allocations: 231.8 kB / 1.314 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/3.332, allocations: 15.94 kB / 1.314 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/3.333, allocations: 75.94 kB / 1.314 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/3.333, allocations: 39.94 kB / 1.315 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/3.334, allocations: 23.98 kB / 1.315 GB, free: 100.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0011/3.335, allocations: 0.5668 MB / 1.315 GB, free: 100.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.41e-07/3.335, allocations: 0 / 1.315 GB, free: 100.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002386/3.337, allocations: 499.2 kB / 1.316 GB, free: 99.77 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002925/3.34, allocations: 1.64 MB / 1.317 GB, free: 98.11 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002717/3.343, allocations: 0.9149 MB / 1.318 GB, free: 97.17 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/3.343, allocations: 4 kB / 1.318 GB, free: 97.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/3.344, allocations: 283.2 kB / 1.318 GB, free: 96.88 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/3.347, allocations: 366.8 kB / 1.319 GB, free: 96.52 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/3.351, allocations: 1.211 MB / 1.32 GB, free: 95.27 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/3.352, allocations: 1.003 MB / 1.321 GB, free: 94.24 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001882/3.354, allocations: 204.8 kB / 1.321 GB, free: 94.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/3.354, allocations: 311.3 kB / 1.321 GB, free: 93.73 MB / 0.823 GB Notification: Performance of SimCode: time 1.533e-06/3.354, allocations: 0 / 1.321 GB, free: 93.73 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07963/3.434, allocations: 26.94 MB / 1.348 GB, free: 67.06 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/3.434, allocations: 229.9 kB / 1.348 GB, free: 66.75 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.204/7.638, allocations: 0 / 1.348 GB, free: 66.75 MB / 0.823 GB