Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 252.6 MB / 265.2 MB, free: 5.645 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 179.8 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.5754 GB, free: 10.41 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 86.64 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.405e-05, allocations: 4 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.917/2.119, allocations: 394.8 MB / 1.28 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/2.119, allocations: 90 kB / 1.281 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.003/3.122, allocations: 293.3 MB / 1.567 GB, free: 28.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/3.122, allocations: 0 / 1.567 GB, free: 28.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000106/3.122, allocations: 24.22 kB / 1.567 GB, free: 28.7 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.003172/3.125, allocations: 1.243 MB / 1.568 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/3.125, allocations: 8.031 kB / 1.568 GB, free: 27.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/3.126, allocations: 118.7 kB / 1.568 GB, free: 27.28 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/3.128, allocations: 0.6639 MB / 1.569 GB, free: 26.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/3.128, allocations: 49.31 kB / 1.569 GB, free: 26.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/3.128, allocations: 64 kB / 1.569 GB, free: 26.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/3.129, allocations: 0.6508 MB / 1.57 GB, free: 25.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/3.129, allocations: 0 / 1.57 GB, free: 25.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/3.129, allocations: 27.95 kB / 1.57 GB, free: 25.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/3.129, allocations: 15.98 kB / 1.57 GB, free: 25.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/3.131, allocations: 429 kB / 1.57 GB, free: 25.31 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.005866/3.136, allocations: 2.596 MB / 1.573 GB, free: 22.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/3.137, allocations: 339.3 kB / 1.573 GB, free: 22.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/3.138, allocations: 184.8 kB / 1.573 GB, free: 22.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/3.138, allocations: 356.4 kB / 1.574 GB, free: 21.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/3.139, allocations: 313.5 kB / 1.574 GB, free: 21.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.507e-06/3.139, allocations: 0 / 1.574 GB, free: 21.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001651/3.141, allocations: 0.5614 MB / 1.574 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/3.141, allocations: 247.6 kB / 1.575 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/3.142, allocations: 0.722 MB / 1.575 GB, free: 19.67 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/3.142, allocations: 41.7 kB / 1.575 GB, free: 19.62 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/3.143, allocations: 440.4 kB / 1.576 GB, free: 19.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/3.143, allocations: 118.3 kB / 1.576 GB, free: 19.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/3.143, allocations: 8 kB / 1.576 GB, free: 19.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/3.143, allocations: 334 kB / 1.576 GB, free: 18.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/3.143, allocations: 197.3 kB / 1.576 GB, free: 18.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/3.144, allocations: 389.6 kB / 1.577 GB, free: 18.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/3.145, allocations: 262.5 kB / 1.577 GB, free: 17.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/3.145, allocations: 4 kB / 1.577 GB, free: 17.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001881/3.147, allocations: 0.7447 MB / 1.578 GB, free: 17.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/3.147, allocations: 1.078 MB / 1.579 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/3.147, allocations: 4 kB / 1.579 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/3.147, allocations: 8 kB / 1.579 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/3.149, allocations: 167.7 kB / 1.579 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.15, allocations: 1.785 MB / 1.581 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/3.152, allocations: 119.4 kB / 1.581 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/3.152, allocations: 39.98 kB / 1.581 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/3.152, allocations: 4 kB / 1.581 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/3.153, allocations: 0.6503 MB / 1.582 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/3.153, allocations: 4 kB / 1.582 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/3.153, allocations: 4 kB / 1.582 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/3.154, allocations: 135.8 kB / 1.582 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/3.155, allocations: 4 kB / 1.582 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/3.156, allocations: 119.8 kB / 1.582 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/3.156, allocations: 35.98 kB / 1.582 GB, free: 12.75 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.0003179/3.157, allocations: 178.4 kB / 1.582 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/3.157, allocations: 90.88 kB / 1.582 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/3.159, allocations: 0.708 MB / 1.583 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/3.159, allocations: 11.98 kB / 1.583 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/3.159, allocations: 4 kB / 1.583 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/3.159, allocations: 7.938 kB / 1.583 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/3.162, allocations: 1.548 MB / 1.584 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/3.162, allocations: 0 / 1.584 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/3.163, allocations: 100 kB / 1.584 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/3.163, allocations: 4 kB / 1.584 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/3.163, allocations: 15.98 kB / 1.584 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007425/3.164, allocations: 1.766 MB / 1.586 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/3.164, allocations: 7.875 kB / 1.586 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/3.166, allocations: 1.192 MB / 1.587 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/3.167, allocations: 231.8 kB / 1.588 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/3.167, allocations: 16 kB / 1.588 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/3.168, allocations: 71.94 kB / 1.588 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/3.169, allocations: 55.86 kB / 1.588 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/3.169, allocations: 23.98 kB / 1.588 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00102/3.17, allocations: 0.5436 MB / 1.588 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.52e-07/3.17, allocations: 4 kB / 1.588 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002111/3.172, allocations: 0.4914 MB / 1.589 GB, free: 5.426 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.00132/3.173, allocations: 481 kB / 1.589 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002826/3.176, allocations: 0.9698 MB / 1.59 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/3.176, allocations: 4 kB / 1.59 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008336/3.177, allocations: 328.3 kB / 1.59 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/3.18, allocations: 377.5 kB / 1.591 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/3.186, allocations: 1.067 MB / 1.592 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/3.187, allocations: 1.018 MB / 1.593 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00279/3.19, allocations: 217 kB / 1.593 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/3.19, allocations: 55.42 kB / 1.593 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of SimCode: time 2.535e-06/3.19, allocations: 0 / 1.593 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of Templates: time 0.6426/3.833, allocations: 19.02 MB / 1.612 GB, free: 213.4 MB / 0.8698 GB