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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001175/0.001175, allocations: 167.4 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4847/0.4847, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.409/1.409, allocations: 223.3 MB / 348.4 MB, free: 4.961 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.0008051/0.0008051, allocations: 100.3 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 71.01 MB / 0.5595 GB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6745/1.046, allocations: 351.4 MB / 0.9026 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.047, allocations: 100.2 kB / 0.9027 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.111/2.158, allocations: 306.1 MB / 1.202 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/2.158, allocations: 0 / 1.202 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001043/2.158, allocations: 24.38 kB / 1.202 GB, free: 146.3 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.003063/2.161, allocations: 1.41 MB / 1.203 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/2.161, allocations: 8.969 kB / 1.203 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/2.162, allocations: 115.8 kB / 1.203 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/2.163, allocations: 0.7093 MB / 1.204 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/2.163, allocations: 50.66 kB / 1.204 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/2.163, allocations: 71.78 kB / 1.204 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/2.164, allocations: 0.686 MB / 1.205 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/2.164, allocations: 16.16 kB / 1.205 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/2.165, allocations: 24 kB / 1.205 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/2.165, allocations: 14.31 kB / 1.205 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/2.165, allocations: 471.9 kB / 1.205 GB, free: 145.2 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.003202/2.169, allocations: 2.607 MB / 1.208 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/2.169, allocations: 419.8 kB / 1.208 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/2.17, allocations: 222.5 kB / 1.208 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/2.17, allocations: 337.4 kB / 1.209 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/2.17, allocations: 358.2 kB / 1.209 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/2.17, allocations: 1.875 kB / 1.209 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001409/2.172, allocations: 0.7945 MB / 1.21 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/2.172, allocations: 246.5 kB / 1.21 GB, free: 143 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/2.173, allocations: 0.8465 MB / 1.211 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/2.173, allocations: 43.64 kB / 1.211 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/2.173, allocations: 430.8 kB / 1.211 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/2.173, allocations: 120.8 kB / 1.211 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/2.173, allocations: 12.95 kB / 1.211 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/2.173, allocations: 335.4 kB / 1.212 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/2.174, allocations: 226.8 kB / 1.212 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/2.174, allocations: 426 kB / 1.212 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/2.175, allocations: 0.5797 MB / 1.213 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/2.175, allocations: 3.938 kB / 1.213 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001172/2.176, allocations: 0.8027 MB / 1.214 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/2.176, allocations: 201.5 kB / 1.214 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/2.176, allocations: 0 / 1.214 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/2.176, allocations: 9.594 kB / 1.214 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/2.177, allocations: 189.1 kB / 1.214 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/2.178, allocations: 1.789 MB / 1.216 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/2.178, allocations: 116.6 kB / 1.216 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/2.179, allocations: 37.05 kB / 1.216 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/2.179, allocations: 3.781 kB / 1.216 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/2.18, allocations: 0.7223 MB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/2.18, allocations: 2.562 kB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/2.18, allocations: 5.656 kB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/2.18, allocations: 137.9 kB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/2.18, allocations: 5.562 kB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/2.181, allocations: 118.5 kB / 1.217 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/2.181, allocations: 29 kB / 1.217 GB, free: 139.7 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.0003531/2.181, allocations: 364.1 kB / 1.217 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/2.181, allocations: 97.09 kB / 1.217 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/2.183, allocations: 0.7534 MB / 1.218 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/2.183, allocations: 3.719 kB / 1.218 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/2.183, allocations: 0 / 1.218 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/2.183, allocations: 7.062 kB / 1.218 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/2.185, allocations: 1.624 MB / 1.22 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/2.185, allocations: 7.656 kB / 1.22 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/2.185, allocations: 94.59 kB / 1.22 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/2.185, allocations: 7.906 kB / 1.22 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/2.185, allocations: 17.83 kB / 1.22 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004663/2.186, allocations: 1.766 MB / 1.222 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.186, allocations: 7.359 kB / 1.222 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/2.187, allocations: 1.231 MB / 1.223 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/2.187, allocations: 235.2 kB / 1.223 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/2.187, allocations: 22.38 kB / 1.223 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/2.188, allocations: 67.83 kB / 1.223 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/2.188, allocations: 44.92 kB / 1.223 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/2.188, allocations: 30.05 kB / 1.223 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005825/2.189, allocations: 0.5636 MB / 1.224 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/2.189, allocations: 0 / 1.224 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001351/2.19, allocations: 0.4956 MB / 1.224 GB, free: 136.3 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.0008866/2.191, allocations: 495.2 kB / 1.225 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001928/2.193, allocations: 1.052 MB / 1.226 GB, free: 136 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.193, allocations: 0 / 1.226 GB, free: 136 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/2.194, allocations: 370.9 kB / 1.226 GB, free: 136 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/2.196, allocations: 361.3 kB / 1.226 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/2.198, allocations: 1.748 MB / 1.228 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/2.198, allocations: 1.002 MB / 1.229 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006001/2.199, allocations: 149.6 kB / 1.229 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/2.199, allocations: 66.58 kB / 1.229 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/2.199, allocations: 0 / 1.229 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02488/2.224, allocations: 17.33 MB / 1.246 GB, free: 134.1 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)