Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.236/2.236, allocations: 248.5 MB / 261.1 MB, free: 6.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 174.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.1 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 95.98 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.116e-05/5.133e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.798/2.025, allocations: 394.8 MB / 1.276 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/2.026, allocations: 103 kB / 1.276 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9892/3.015, allocations: 293.3 MB / 1.563 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/3.015, allocations: 0 / 1.563 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001406/3.015, allocations: 24.22 kB / 1.563 GB, free: 30.38 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003644/3.019, allocations: 1.252 MB / 1.564 GB, free: 29.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/3.019, allocations: 8.031 kB / 1.564 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/3.019, allocations: 98.52 kB / 1.564 GB, free: 28.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/3.02, allocations: 114.7 kB / 1.564 GB, free: 28.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/3.022, allocations: 0.6639 MB / 1.565 GB, free: 28.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/3.022, allocations: 53.31 kB / 1.565 GB, free: 28.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/3.022, allocations: 71.94 kB / 1.565 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/3.024, allocations: 0.643 MB / 1.566 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/3.024, allocations: 3.953 kB / 1.566 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/3.024, allocations: 31.97 kB / 1.566 GB, free: 27.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/3.024, allocations: 12 kB / 1.566 GB, free: 27.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/3.025, allocations: 429 kB / 1.566 GB, free: 26.87 MB / 0.8698 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.006216/3.031, allocations: 2.589 MB / 1.569 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/3.032, allocations: 351.8 kB / 1.569 GB, free: 23.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/3.033, allocations: 184.8 kB / 1.569 GB, free: 23.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/3.033, allocations: 348.4 kB / 1.569 GB, free: 23.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006675/3.034, allocations: 329.4 kB / 1.57 GB, free: 22.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.647e-06/3.034, allocations: 0 / 1.57 GB, free: 22.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001706/3.036, allocations: 0.5634 MB / 1.57 GB, free: 22.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/3.036, allocations: 239.5 kB / 1.571 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/3.037, allocations: 0.7182 MB / 1.571 GB, free: 21.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/3.038, allocations: 37.7 kB / 1.571 GB, free: 21.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/3.038, allocations: 436.4 kB / 1.572 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/3.038, allocations: 130.3 kB / 1.572 GB, free: 20.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/3.038, allocations: 12 kB / 1.572 GB, free: 20.61 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/3.038, allocations: 326 kB / 1.572 GB, free: 20.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/3.039, allocations: 201.2 kB / 1.572 GB, free: 20.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/3.04, allocations: 389.6 kB / 1.573 GB, free: 19.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/3.04, allocations: 265.7 kB / 1.573 GB, free: 19.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/3.04, allocations: 0 / 1.573 GB, free: 19.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001956/3.042, allocations: 0.7446 MB / 1.574 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/3.042, allocations: 1.082 MB / 1.575 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/3.042, allocations: 4 kB / 1.575 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/3.042, allocations: 4 kB / 1.575 GB, free: 17.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/3.044, allocations: 167.7 kB / 1.575 GB, free: 17.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/3.045, allocations: 1.777 MB / 1.577 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/3.047, allocations: 127.6 kB / 1.577 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/3.047, allocations: 35.98 kB / 1.577 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/3.047, allocations: 4 kB / 1.577 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/3.049, allocations: 0.6541 MB / 1.577 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/3.049, allocations: 8 kB / 1.577 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/3.049, allocations: 4.344 kB / 1.577 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/3.05, allocations: 135.8 kB / 1.578 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/3.05, allocations: 8 kB / 1.578 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/3.052, allocations: 111.5 kB / 1.578 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/3.052, allocations: 35.98 kB / 1.578 GB, free: 14.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * 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.0003103/3.052, allocations: 186.4 kB / 1.578 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/3.053, allocations: 90.88 kB / 1.578 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/3.055, allocations: 0.6889 MB / 1.579 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/3.055, allocations: 11.98 kB / 1.579 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/3.055, allocations: 3.938 kB / 1.579 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/3.055, allocations: 0 / 1.579 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/3.058, allocations: 1.567 MB / 1.58 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/3.058, allocations: 0 / 1.58 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/3.059, allocations: 95.81 kB / 1.58 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/3.059, allocations: 4 kB / 1.58 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/3.059, allocations: 19.98 kB / 1.58 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/3.06, allocations: 1.762 MB / 1.582 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/3.06, allocations: 0 / 1.582 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/3.062, allocations: 1.189 MB / 1.583 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/3.063, allocations: 239.8 kB / 1.583 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/3.063, allocations: 16 kB / 1.583 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/3.064, allocations: 71.88 kB / 1.584 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/3.064, allocations: 51.91 kB / 1.584 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/3.064, allocations: 23.98 kB / 1.584 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00101/3.065, allocations: 0.5514 MB / 1.584 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/3.065, allocations: 0 / 1.584 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002174/3.067, allocations: 0.4953 MB / 1.585 GB, free: 6.984 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.003382/3.071, allocations: 2.311 MB / 1.587 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002857/3.074, allocations: 0.9705 MB / 1.588 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/3.074, allocations: 4.062 kB / 1.588 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/3.075, allocations: 335.1 kB / 1.588 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/3.078, allocations: 356.8 kB / 1.589 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/3.083, allocations: 1.303 MB / 1.59 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/3.083, allocations: 1.026 MB / 1.591 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001538/3.085, allocations: 213 kB / 1.591 GB, free: 324 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6059/3.691, allocations: 327.3 kB / 1.591 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/3.691, allocations: 2.75 kB / 1.591 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/3.825, allocations: 27.39 MB / 1.618 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/3.825, allocations: 226.2 kB / 1.618 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.984/7.81, allocations: 0 / 1.618 GB, free: 215.5 MB / 0.8698 GB