Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.774/0.774, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 195.7 kB / 173.8 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009662/0.0009668, allocations: 106.7 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 13.5 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.543/1.762, allocations: 363.1 MB / 0.9899 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005331/1.762, allocations: 103.3 kB / 0.99 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.779, allocations: 298 MB / 1.281 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.034e-06/2.779, allocations: 0 / 1.281 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.207e-05/2.779, allocations: 24.86 kB / 1.281 GB, free: 154.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002767/2.781, allocations: 1.391 MB / 1.282 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/2.782, allocations: 7.656 kB / 1.282 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/2.782, allocations: 179.2 kB / 1.283 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/2.784, allocations: 0.6716 MB / 1.283 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/2.784, allocations: 49.97 kB / 1.283 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/2.784, allocations: 66.23 kB / 1.283 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/2.787, allocations: 0.9689 MB / 1.284 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/2.787, allocations: 5.844 kB / 1.284 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/2.787, allocations: 23.47 kB / 1.284 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/2.787, allocations: 13.88 kB / 1.284 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/2.79, allocations: 0.7617 MB / 1.285 GB, free: 153.1 MB / 0.6511 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.003496/2.793, allocations: 2.617 MB / 1.288 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/2.796, allocations: 0.6628 MB / 1.288 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/2.796, allocations: 445 kB / 1.289 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/2.799, allocations: 0.6079 MB / 1.289 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/2.799, allocations: 0 / 1.289 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.005473/2.804, allocations: 1.439 MB / 1.291 GB, free: 151 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/2.804, allocations: 186.7 kB / 1.291 GB, free: 150.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/2.805, allocations: 0.7113 MB / 1.292 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/2.805, allocations: 40.52 kB / 1.292 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/2.805, allocations: 449.7 kB / 1.292 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/2.806, allocations: 114.9 kB / 1.292 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/2.806, allocations: 18.34 kB / 1.292 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/2.806, allocations: 324.7 kB / 1.292 GB, free: 150 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007892/2.806, allocations: 328.6 kB / 1.293 GB, free: 150 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/2.807, allocations: 0.5017 MB / 1.293 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/2.808, allocations: 392.2 kB / 1.294 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.808, allocations: 0 / 1.294 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002564/2.811, allocations: 1.003 MB / 1.295 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/2.811, allocations: 1.09 MB / 1.296 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.811, allocations: 3.656 kB / 1.296 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/2.811, allocations: 10.12 kB / 1.296 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/2.815, allocations: 430.6 kB / 1.296 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/2.817, allocations: 1.972 MB / 1.298 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/2.818, allocations: 168.5 kB / 1.298 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/2.819, allocations: 35.83 kB / 1.298 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/2.819, allocations: 3.688 kB / 1.298 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00178/2.82, allocations: 0.8468 MB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.82, allocations: 5.594 kB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/2.82, allocations: 7.312 kB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/2.821, allocations: 166.2 kB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/2.821, allocations: 7.656 kB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/2.822, allocations: 150.7 kB / 1.299 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/2.822, allocations: 34.97 kB / 1.299 GB, free: 146.7 MB / 0.6511 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.0006467/2.823, allocations: 348.1 kB / 1.3 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/2.823, allocations: 92.38 kB / 1.3 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/2.825, allocations: 0.8782 MB / 1.301 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/2.825, allocations: 2.875 kB / 1.301 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.825, allocations: 0 / 1.301 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/2.825, allocations: 0 / 1.301 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/2.828, allocations: 1.618 MB / 1.302 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/2.828, allocations: 0 / 1.302 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/2.831, allocations: 407 kB / 1.303 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/2.831, allocations: 0 / 1.303 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/2.831, allocations: 20.89 kB / 1.303 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/2.837, allocations: 4.546 MB / 1.307 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.837, allocations: 0 / 1.307 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/2.84, allocations: 1.265 MB / 1.308 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/2.841, allocations: 240.8 kB / 1.309 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/2.841, allocations: 7.594 kB / 1.309 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/2.842, allocations: 114.5 kB / 1.309 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/2.842, allocations: 47.09 kB / 1.309 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/2.842, allocations: 25.27 kB / 1.309 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008334/2.843, allocations: 0.5822 MB / 1.309 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/2.843, allocations: 3.938 kB / 1.309 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001627/2.844, allocations: 492.8 kB / 1.31 GB, free: 141.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0008681/2.845, allocations: 472 kB / 1.31 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004895/2.85, allocations: 1.48 MB / 1.312 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.85, allocations: 0 / 1.312 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002895/2.853, allocations: 0.6588 MB / 1.312 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/2.856, allocations: 362.4 kB / 1.313 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/2.86, allocations: 1.709 MB / 1.314 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/2.86, allocations: 1.003 MB / 1.315 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001136/2.862, allocations: 149.9 kB / 1.316 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/2.862, allocations: 69.12 kB / 1.316 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.244e-06/2.862, allocations: 3.844 kB / 1.316 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.03001/2.892, allocations: 17.85 MB / 1.333 GB, free: 138.9 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)