Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5688/0.5688, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.2 MB / 354.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009223, allocations: 100.2 kB / 427.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.000354, allocations: 12 kB / 0.4983 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1677, allocations: 72.32 MB / 0.5689 GB, free: 1.922 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.258, allocations: 353.1 MB / 0.9137 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.258, allocations: 103.3 kB / 0.9138 GB, free: 113 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9889/2.247, allocations: 308.2 MB / 1.215 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/2.247, allocations: 0 / 1.215 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.894e-05/2.247, allocations: 31.98 kB / 1.215 GB, free: 66.92 MB / 0.6042 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.002535/2.25, allocations: 1.411 MB / 1.216 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/2.25, allocations: 12.03 kB / 1.216 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/2.25, allocations: 118.6 kB / 1.216 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/2.251, allocations: 0.6756 MB / 1.217 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/2.251, allocations: 53.31 kB / 1.217 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/2.251, allocations: 64 kB / 1.217 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/2.252, allocations: 0.6897 MB / 1.218 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/2.252, allocations: 0 / 1.218 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/2.252, allocations: 24 kB / 1.218 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/2.252, allocations: 12 kB / 1.218 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/2.253, allocations: 476.9 kB / 1.218 GB, free: 63.26 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003365/2.256, allocations: 2.616 MB / 1.221 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/2.257, allocations: 411.1 kB / 1.221 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/2.258, allocations: 344.4 kB / 1.222 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/2.258, allocations: 358.1 kB / 1.222 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.805e-06/2.258, allocations: 8 kB / 1.222 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001747/2.26, allocations: 0.8773 MB / 1.223 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/2.26, allocations: 239.6 kB / 1.223 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/2.261, allocations: 0.7418 MB / 1.224 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/2.261, allocations: 37.7 kB / 1.224 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/2.261, allocations: 436.4 kB / 1.224 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/2.262, allocations: 118.4 kB / 1.224 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/2.262, allocations: 16 kB / 1.224 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001101/2.262, allocations: 326 kB / 1.225 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/2.262, allocations: 225.1 kB / 1.225 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/2.263, allocations: 428.9 kB / 1.225 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/2.263, allocations: 283.6 kB / 1.226 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/2.263, allocations: 8 kB / 1.226 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001308/2.265, allocations: 0.7993 MB / 1.226 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004106/2.265, allocations: 1.078 MB / 1.227 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/2.265, allocations: 4 kB / 1.227 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/2.265, allocations: 16.48 kB / 1.227 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/2.266, allocations: 163.7 kB / 1.228 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/2.267, allocations: 1.778 MB / 1.229 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/2.267, allocations: 123.5 kB / 1.229 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/2.268, allocations: 39.92 kB / 1.229 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/2.268, allocations: 4 kB / 1.229 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/2.269, allocations: 0.7128 MB / 1.23 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/2.269, allocations: 3.984 kB / 1.23 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/2.269, allocations: 8 kB / 1.23 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/2.269, allocations: 131.8 kB / 1.23 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/2.269, allocations: 4 kB / 1.23 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/2.27, allocations: 123.7 kB / 1.23 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/2.27, allocations: 31.98 kB / 1.23 GB, free: 50.22 MB / 0.6042 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 () * Number of clocked 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.0004246/2.27, allocations: 350.5 kB / 1.231 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/2.271, allocations: 94.78 kB / 1.231 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/2.272, allocations: 0.7599 MB / 1.232 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/2.272, allocations: 8 kB / 1.232 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.272, allocations: 0 / 1.232 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/2.272, allocations: 0 / 1.232 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/2.274, allocations: 1.626 MB / 1.233 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/2.274, allocations: 0 / 1.233 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/2.274, allocations: 99.86 kB / 1.233 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/2.274, allocations: 4 kB / 1.233 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/2.274, allocations: 15.98 kB / 1.233 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005614/2.275, allocations: 1.762 MB / 1.235 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.275, allocations: 11.92 kB / 1.235 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/2.276, allocations: 1.271 MB / 1.236 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/2.277, allocations: 235.8 kB / 1.236 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/2.277, allocations: 24.06 kB / 1.237 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/2.278, allocations: 75.78 kB / 1.237 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/2.278, allocations: 47.92 kB / 1.237 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/2.278, allocations: 27.92 kB / 1.237 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006489/2.278, allocations: 0.5631 MB / 1.237 GB, free: 43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.278, allocations: 0 / 1.237 GB, free: 43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001647/2.28, allocations: 0.4953 MB / 1.238 GB, free: 42.51 MB / 0.6042 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) * Number of clocked states: 0 () * 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.0008539/2.281, allocations: 491.9 kB / 1.238 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001839/2.283, allocations: 1.016 MB / 1.239 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.283, allocations: 4.188 kB / 1.239 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/2.283, allocations: 359.1 kB / 1.24 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/2.285, allocations: 368.8 kB / 1.24 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/2.287, allocations: 1.73 MB / 1.242 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/2.288, allocations: 1.021 MB / 1.243 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006136/2.288, allocations: 153.9 kB / 1.243 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/2.289, allocations: 75.41 kB / 1.243 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/2.289, allocations: 0 / 1.243 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.0238/2.312, allocations: 16.94 MB / 1.259 GB, free: 20.46 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)