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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 183.9 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7683/0.7683, allocations: 123 MB / 415.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 9.312 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.437, allocations: 79.27 MB / 0.5707 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.0239/0.4609, allocations: 22.49 MB / 0.5927 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4741, allocations: 6.496 MB / 0.599 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.4759, allocations: 27.28 kB / 0.5991 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.4771, allocations: 326.3 kB / 0.5994 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.4811, allocations: 0.9901 MB / 0.6004 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.4845, allocations: 0.9657 MB / 0.6013 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004086/0.4886, allocations: 2.497 MB / 0.6037 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.4899, allocations: 0.6318 MB / 0.6043 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.4919, allocations: 0.7247 MB / 0.6051 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.4932, allocations: 0.6853 MB / 0.6057 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.4933, allocations: 35.91 kB / 0.6058 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.4956, allocations: 0.9422 MB / 0.6067 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.4958, allocations: 173.7 kB / 0.6068 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.4965, allocations: 474 kB / 0.6073 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.4989, allocations: 1.416 MB / 0.6087 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4989, allocations: 0 / 0.6087 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4989, allocations: 1.5 kB / 0.6087 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.4989, allocations: 0 / 0.6087 GB, free: 0.9492 MB / 446.1 MB 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.002476/0.5014, allocations: 1.241 MB / 0.6099 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5015, allocations: 10.03 kB / 0.6099 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.5017, allocations: 121.4 kB / 0.61 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.5029, allocations: 0.6797 MB / 0.6107 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.503, allocations: 52.34 kB / 0.6107 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5031, allocations: 61.25 kB / 0.6108 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.5044, allocations: 0.6642 MB / 0.6114 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5044, allocations: 3.938 kB / 0.6114 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.5045, allocations: 22.25 kB / 0.6115 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.5045, allocations: 13.56 kB / 0.6115 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.5054, allocations: 464.9 kB / 0.6119 GB, free: 14.63 MB / 462.1 MB 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.003882/0.5092, allocations: 2.545 MB / 0.6144 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/0.5101, allocations: 375.1 kB / 0.6148 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.5105, allocations: 193.4 kB / 0.6149 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.5109, allocations: 342.1 kB / 0.6153 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006363/0.5115, allocations: 328.5 kB / 0.6156 GB, free: 11.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.5116, allocations: 0.875 kB / 0.6156 GB, free: 11.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001628/0.5132, allocations: 0.7112 MB / 0.6163 GB, free: 11.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.5134, allocations: 236.9 kB / 0.6165 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.5146, allocations: 0.849 MB / 0.6173 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.5147, allocations: 42.34 kB / 0.6174 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.5151, allocations: 431.4 kB / 0.6178 GB, free: 10.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.5153, allocations: 121.7 kB / 0.6179 GB, free: 9.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.5154, allocations: 58.75 kB / 0.618 GB, free: 9.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5155, allocations: 327.8 kB / 0.6183 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.5159, allocations: 216.5 kB / 0.6185 GB, free: 9.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.5165, allocations: 372.5 kB / 0.6188 GB, free: 9.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.5174, allocations: 0.5417 MB / 0.6194 GB, free: 8.871 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5174, allocations: 0 / 0.6194 GB, free: 8.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00134/0.5187, allocations: 0.7486 MB / 0.6201 GB, free: 8.512 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.5189, allocations: 214.4 kB / 0.6203 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5189, allocations: 2.781 kB / 0.6203 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.519, allocations: 5.156 kB / 0.6203 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.52, allocations: 192.2 kB / 0.6205 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.5212, allocations: 1.774 MB / 0.6222 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.5221, allocations: 113.4 kB / 0.6223 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.5222, allocations: 28.3 kB / 0.6224 GB, free: 6.336 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.5222, allocations: 3.859 kB / 0.6224 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/0.5235, allocations: 0.6398 MB / 0.623 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5235, allocations: 3.562 kB / 0.623 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5235, allocations: 5.219 kB / 0.623 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.524, allocations: 134.4 kB / 0.6231 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.524, allocations: 13.41 kB / 0.6231 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.5247, allocations: 106.8 kB / 0.6232 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.5248, allocations: 26.61 kB / 0.6233 GB, free: 5.938 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,$whenCondition1,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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004805/0.5253, allocations: 343.2 kB / 0.6236 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5254, allocations: 90.88 kB / 0.6237 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5267, allocations: 0.6833 MB / 0.6243 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.5268, allocations: 4 kB / 0.6244 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5268, allocations: 0 / 0.6244 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5268, allocations: 7.984 kB / 0.6244 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.5291, allocations: 1.532 MB / 0.6259 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5291, allocations: 3.938 kB / 0.6259 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.5295, allocations: 83.89 kB / 0.6259 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.5295, allocations: 4 kB / 0.6259 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.5296, allocations: 23.97 kB / 0.626 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000971/0.5306, allocations: 1.77 MB / 0.6277 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5306, allocations: 4.094 kB / 0.6277 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.5321, allocations: 1.116 MB / 0.6288 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/0.5325, allocations: 227.8 kB / 0.629 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5327, allocations: 16 kB / 0.629 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.5332, allocations: 56 kB / 0.6291 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5333, allocations: 39.94 kB / 0.6291 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.5334, allocations: 23.92 kB / 0.6291 GB, free: 15.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007821/0.5342, allocations: 0.5748 MB / 0.6297 GB, free: 15.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5342, allocations: 3.938 kB / 0.6297 GB, free: 15.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001544/0.5357, allocations: 463.1 kB / 0.6301 GB, free: 14.72 MB / 478.1 MB 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009263/0.5367, allocations: 333.7 kB / 0.6305 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.5392, allocations: 1.033 MB / 0.6315 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5392, allocations: 7.938 kB / 0.6315 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006823/0.5399, allocations: 355.7 kB / 0.6318 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.5423, allocations: 367.9 kB / 0.6322 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.5453, allocations: 1.814 MB / 0.6339 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5459, allocations: 1.001 MB / 0.6349 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006675/0.5466, allocations: 154.1 kB / 0.6351 GB, free: 9.586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5468, allocations: 67.42 kB / 0.6351 GB, free: 9.52 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5468, allocations: 3.938 kB / 0.6351 GB, free: 9.516 MB / 478.1 MB Notification: Performance of Templates: time 0.03161/0.5785, allocations: 15.88 MB / 0.6506 GB, free: 9.832 MB / 494.1 MB 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)