Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.366/2.366, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 184.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.2 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001032, allocations: 96.53 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.166e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8283, allocations: 115.2 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/2.077, allocations: 401.8 MB / 1.356 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/2.077, allocations: 98.62 kB / 1.356 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.809/3.887, allocations: 299 MB / 1.648 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/3.887, allocations: 0 / 1.648 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000121/3.887, allocations: 27.62 kB / 1.648 GB, free: 238.2 MB / 0.9323 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.003662/3.89, allocations: 1.243 MB / 1.649 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/3.89, allocations: 9.828 kB / 1.649 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/3.891, allocations: 122 kB / 1.649 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/3.893, allocations: 0.6607 MB / 1.65 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/3.893, allocations: 19.72 kB / 1.65 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/3.894, allocations: 40.44 kB / 1.65 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/3.895, allocations: 396.5 kB / 1.65 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/3.896, allocations: 0.5753 MB / 1.651 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/3.896, allocations: 2.406 kB / 1.651 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/3.896, allocations: 7.078 kB / 1.651 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/3.896, allocations: 12.78 kB / 1.651 GB, free: 237.1 MB / 0.9323 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.006095/3.903, allocations: 2.466 MB / 1.653 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/3.903, allocations: 336 kB / 1.654 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/3.904, allocations: 191 kB / 1.654 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/3.904, allocations: 341.6 kB / 1.654 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/3.905, allocations: 317 kB / 1.654 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.996e-06/3.905, allocations: 0 / 1.654 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.00267/3.908, allocations: 0.6097 MB / 1.655 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/3.908, allocations: 244.6 kB / 1.655 GB, free: 235 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/3.909, allocations: 0.5837 MB / 1.656 GB, free: 234.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/3.909, allocations: 32.73 kB / 1.656 GB, free: 234.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/3.909, allocations: 447.7 kB / 1.656 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/3.91, allocations: 114.6 kB / 1.656 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/3.91, allocations: 4.844 kB / 1.656 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/3.91, allocations: 333 kB / 1.657 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/3.91, allocations: 187.7 kB / 1.657 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/3.911, allocations: 384 kB / 1.657 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/3.913, allocations: 310.9 kB / 1.658 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/3.913, allocations: 3.859 kB / 1.658 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00285/3.915, allocations: 0.753 MB / 1.658 GB, free: 234 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/3.916, allocations: 1.08 MB / 1.659 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/3.916, allocations: 2.25 kB / 1.659 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/3.916, allocations: 9.094 kB / 1.659 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/3.918, allocations: 158.4 kB / 1.66 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/3.919, allocations: 1.798 MB / 1.661 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/3.92, allocations: 103 kB / 1.661 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/3.921, allocations: 35.05 kB / 1.661 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/3.921, allocations: 8.297 kB / 1.661 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002463/3.923, allocations: 0.6386 MB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/3.923, allocations: 5.281 kB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/3.923, allocations: 5.469 kB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/3.924, allocations: 134.5 kB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/3.924, allocations: 9.828 kB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/3.926, allocations: 95.91 kB / 1.662 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/3.926, allocations: 35.75 kB / 1.662 GB, free: 231.1 MB / 0.9323 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 (65): * Single equations (assignments): 61 * 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.0003043/3.926, allocations: 162.3 kB / 1.662 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/3.927, allocations: 86.3 kB / 1.663 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/3.929, allocations: 0.7131 MB / 1.663 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/3.93, allocations: 4.969 kB / 1.663 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/3.93, allocations: 1.281 kB / 1.663 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/3.93, allocations: 4.969 kB / 1.663 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/3.934, allocations: 1.523 MB / 1.665 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/3.934, allocations: 1.438 kB / 1.665 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/3.935, allocations: 104.8 kB / 1.665 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/3.935, allocations: 2.719 kB / 1.665 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/3.935, allocations: 11.36 kB / 1.665 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000736/3.936, allocations: 1.765 MB / 1.667 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/3.936, allocations: 4.375 kB / 1.667 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/3.939, allocations: 1.216 MB / 1.668 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/3.94, allocations: 220.8 kB / 1.668 GB, free: 228 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/3.94, allocations: 4.906 kB / 1.668 GB, free: 228 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/3.941, allocations: 74.62 kB / 1.668 GB, free: 228 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/3.941, allocations: 52.44 kB / 1.668 GB, free: 228 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/3.941, allocations: 24.05 kB / 1.668 GB, free: 228 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008323/3.942, allocations: 450.6 kB / 1.669 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.81e-07/3.942, allocations: 1.188 kB / 1.669 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00265/3.945, allocations: 496.7 kB / 1.669 GB, free: 227.9 MB / 0.9323 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.001488/3.946, allocations: 490.1 kB / 1.67 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003047/3.949, allocations: 0.9216 MB / 1.67 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/3.949, allocations: 1 kB / 1.67 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008925/3.95, allocations: 319.6 kB / 1.671 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/3.954, allocations: 312.4 kB / 1.671 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/3.957, allocations: 1.031 MB / 1.672 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/3.957, allocations: 1.015 MB / 1.673 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001559/3.959, allocations: 190.6 kB / 1.673 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/3.959, allocations: 53.05 kB / 1.673 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/3.959, allocations: 0 / 1.673 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.04013/4, allocations: 15.68 MB / 1.689 GB, free: 226.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)