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.7256/0.7256, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 184.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.0009731/0.000973, allocations: 78.48 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.891e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.184, allocations: 76.75 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.517, allocations: 363 MB / 0.9827 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.518, allocations: 99.8 kB / 0.9828 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.533, allocations: 297.2 MB / 1.273 GB, free: 137 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/2.533, allocations: 0 / 1.273 GB, free: 137 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.819e-05/2.533, allocations: 44 kB / 1.273 GB, free: 137 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.002243/2.536, allocations: 1.213 MB / 1.274 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/2.536, allocations: 12.03 kB / 1.274 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/2.536, allocations: 182.6 kB / 1.274 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/2.538, allocations: 0.6584 MB / 1.275 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/2.538, allocations: 53.25 kB / 1.275 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/2.538, allocations: 63.95 kB / 1.275 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/2.54, allocations: 0.8765 MB / 1.276 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/2.54, allocations: 0 / 1.276 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/2.54, allocations: 24 kB / 1.276 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/2.54, allocations: 12 kB / 1.276 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/2.542, allocations: 0.6405 MB / 1.277 GB, free: 133.1 MB / 0.6511 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.003585/2.546, allocations: 2.603 MB / 1.279 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/2.548, allocations: 0.5309 MB / 1.28 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/2.548, allocations: 181.1 kB / 1.28 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/2.549, allocations: 441.3 kB / 1.28 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/2.55, allocations: 0.5266 MB / 1.281 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/2.55, allocations: 0 / 1.281 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.004005/2.554, allocations: 0.9764 MB / 1.282 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/2.555, allocations: 188.5 kB / 1.282 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/2.556, allocations: 0.7093 MB / 1.283 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/2.556, allocations: 37.7 kB / 1.283 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/2.556, allocations: 456 kB / 1.283 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.556, allocations: 110.3 kB / 1.283 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/2.556, allocations: 12 kB / 1.283 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/2.556, allocations: 330 kB / 1.284 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/2.557, allocations: 241.3 kB / 1.284 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/2.557, allocations: 419.9 kB / 1.284 GB, free: 125 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/2.558, allocations: 288.8 kB / 1.284 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/2.558, allocations: 7.938 kB / 1.284 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001363/2.559, allocations: 0.815 MB / 1.285 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/2.559, allocations: 1.083 MB / 1.286 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/2.56, allocations: 4 kB / 1.286 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/2.56, allocations: 4 kB / 1.286 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/2.562, allocations: 439.5 kB / 1.287 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/2.564, allocations: 1.914 MB / 1.289 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/2.566, allocations: 171.2 kB / 1.289 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/2.566, allocations: 43.91 kB / 1.289 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.566, allocations: 4 kB / 1.289 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/2.567, allocations: 0.7051 MB / 1.29 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/2.567, allocations: 0 / 1.29 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/2.567, allocations: 8 kB / 1.29 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/2.568, allocations: 163.8 kB / 1.29 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/2.568, allocations: 8.156 kB / 1.29 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/2.569, allocations: 147.3 kB / 1.29 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/2.569, allocations: 35.98 kB / 1.29 GB, free: 119 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 () * 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.0002989/2.569, allocations: 183.1 kB / 1.29 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/2.569, allocations: 94.86 kB / 1.29 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/2.571, allocations: 0.7018 MB / 1.291 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/2.571, allocations: 4 kB / 1.291 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/2.571, allocations: 4 kB / 1.291 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/2.571, allocations: 0 / 1.291 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/2.573, allocations: 1.436 MB / 1.292 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/2.573, allocations: 4 kB / 1.292 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/2.576, allocations: 399.5 kB / 1.293 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/2.576, allocations: 4 kB / 1.293 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/2.576, allocations: 19.97 kB / 1.293 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/2.581, allocations: 4.308 MB / 1.297 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.581, allocations: 4 kB / 1.297 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/2.583, allocations: 0.9976 MB / 1.298 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/2.584, allocations: 235.9 kB / 1.298 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/2.584, allocations: 20 kB / 1.298 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/2.585, allocations: 111.8 kB / 1.298 GB, free: 110 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/2.585, allocations: 43.92 kB / 1.298 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/2.585, allocations: 27.97 kB / 1.298 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009806/2.586, allocations: 0.567 MB / 1.299 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/2.586, allocations: 0 / 1.299 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001977/2.588, allocations: 487.3 kB / 1.299 GB, free: 108.8 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) * 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.001008/2.589, allocations: 452.6 kB / 1.3 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003473/2.593, allocations: 1.259 MB / 1.301 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/2.593, allocations: 0 / 1.301 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/2.595, allocations: 0.5663 MB / 1.301 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/2.597, allocations: 366.7 kB / 1.302 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/2.6, allocations: 1.036 MB / 1.303 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/2.6, allocations: 1.003 MB / 1.304 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001206/2.602, allocations: 213.1 kB / 1.304 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/2.602, allocations: 63.41 kB / 1.304 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/2.602, allocations: 0 / 1.304 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.03323/2.635, allocations: 19.87 MB / 1.323 GB, free: 84.13 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)