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.59/2.59, allocations: 284.8 MB / 297.3 MB, free: 6.328 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.00151/0.001509, allocations: 192.8 kB / 365.7 MB, free: 2.594 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 2.002/2.002, allocations: 205.1 MB / 0.6241 GB, free: 8.195 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.001096/0.001096, allocations: 112.4 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.044e-05/5.06e-05, allocations: 8 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.851/0.851, allocations: 115.2 MB / 0.97 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/2.077, allocations: 402.5 MB / 1.363 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/2.077, allocations: 96.84 kB / 1.363 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.664/3.741, allocations: 301.3 MB / 1.657 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.014e-06/3.741, allocations: 0 / 1.657 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001144/3.741, allocations: 31.67 kB / 1.657 GB, free: 238.9 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.003208/3.744, allocations: 1.246 MB / 1.659 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/3.744, allocations: 8.438 kB / 1.659 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/3.745, allocations: 118.9 kB / 1.659 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/3.747, allocations: 0.659 MB / 1.659 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/3.747, allocations: 50.72 kB / 1.659 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/3.747, allocations: 69.88 kB / 1.66 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/3.749, allocations: 0.648 MB / 1.66 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/3.749, allocations: 0 / 1.66 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/3.749, allocations: 25.25 kB / 1.66 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/3.749, allocations: 17.42 kB / 1.66 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/3.75, allocations: 429.6 kB / 1.661 GB, free: 237.8 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.006191/3.756, allocations: 2.598 MB / 1.663 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/3.757, allocations: 343.6 kB / 1.663 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/3.758, allocations: 192.2 kB / 1.664 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/3.758, allocations: 342.1 kB / 1.664 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007136/3.759, allocations: 324 kB / 1.664 GB, free: 236 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 3.056e-06/3.759, allocations: 0 / 1.664 GB, free: 236 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.001755/3.761, allocations: 0.567 MB / 1.665 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/3.761, allocations: 242.1 kB / 1.665 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/3.762, allocations: 0.7243 MB / 1.666 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/3.762, allocations: 39.77 kB / 1.666 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/3.763, allocations: 443.9 kB / 1.666 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/3.763, allocations: 113.6 kB / 1.666 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/3.763, allocations: 10.34 kB / 1.666 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/3.763, allocations: 333.1 kB / 1.667 GB, free: 234.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/3.764, allocations: 199 kB / 1.667 GB, free: 234.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/3.764, allocations: 398.9 kB / 1.667 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/3.765, allocations: 265.9 kB / 1.667 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/3.765, allocations: 1.469 kB / 1.667 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002124/3.767, allocations: 0.7407 MB / 1.668 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/3.767, allocations: 1.084 MB / 1.669 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/3.767, allocations: 2.156 kB / 1.669 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/3.767, allocations: 5.188 kB / 1.669 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/3.769, allocations: 158.4 kB / 1.669 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/3.77, allocations: 1.777 MB / 1.671 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/3.772, allocations: 136.5 kB / 1.671 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/3.772, allocations: 34.38 kB / 1.671 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/3.772, allocations: 3.969 kB / 1.671 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/3.774, allocations: 0.6552 MB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/3.774, allocations: 3.969 kB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/3.774, allocations: 3.938 kB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/3.775, allocations: 141 kB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/3.775, allocations: 12.81 kB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/3.776, allocations: 118 kB / 1.672 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/3.776, allocations: 30.61 kB / 1.672 GB, free: 231.5 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 (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.0002916/3.777, allocations: 171.1 kB / 1.672 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/3.777, allocations: 99.14 kB / 1.673 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/3.779, allocations: 0.7127 MB / 1.673 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/3.779, allocations: 7.047 kB / 1.673 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/3.779, allocations: 0 / 1.673 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/3.779, allocations: 0 / 1.673 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/3.782, allocations: 1.558 MB / 1.675 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/3.782, allocations: 3.969 kB / 1.675 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/3.783, allocations: 98.73 kB / 1.675 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/3.783, allocations: 7.906 kB / 1.675 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/3.783, allocations: 14.19 kB / 1.675 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006966/3.784, allocations: 1.766 MB / 1.677 GB, free: 229 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/3.784, allocations: 5.406 kB / 1.677 GB, free: 229 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/3.786, allocations: 1.196 MB / 1.678 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/3.787, allocations: 234.1 kB / 1.678 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/3.787, allocations: 14.59 kB / 1.678 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/3.788, allocations: 78.17 kB / 1.678 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/3.788, allocations: 42.45 kB / 1.678 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/3.788, allocations: 23 kB / 1.678 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009412/3.789, allocations: 0.5497 MB / 1.679 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.71e-07/3.789, allocations: 3.812 kB / 1.679 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002175/3.791, allocations: 0.496 MB / 1.679 GB, free: 228.1 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.001348/3.793, allocations: 482 kB / 1.68 GB, free: 228 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002852/3.796, allocations: 0.9718 MB / 1.681 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/3.796, allocations: 3.062 kB / 1.681 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/3.796, allocations: 340.7 kB / 1.681 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/3.8, allocations: 375.2 kB / 1.681 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/3.803, allocations: 1.074 MB / 1.682 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/3.804, allocations: 1.016 MB / 1.683 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001472/3.805, allocations: 212.4 kB / 1.684 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/3.805, allocations: 54.89 kB / 1.684 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/3.805, allocations: 3.562 kB / 1.684 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.0462/3.852, allocations: 19.08 MB / 1.702 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)