Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7057/0.7057, allocations: 117.9 MB / 133.9 MB, free: 4.504 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.001118/0.001118, allocations: 188 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 394.8 MB, free: 20.89 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.0008114/0.0008114, allocations: 109 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 8 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3789, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5157, allocations: 104.7 MB / 0.7174 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.516, allocations: 83.94 kB / 0.7175 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.5329, allocations: 5.869 MB / 0.7232 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.929e-06/0.5329, allocations: 4 kB / 0.7232 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.5329, allocations: 4 kB / 0.7232 GB, free: 7.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001033/0.534, allocations: 0.5897 MB / 0.7238 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.534, allocations: 8.031 kB / 0.7238 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.5342, allocations: 44.48 kB / 0.7238 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.5346, allocations: 290.7 kB / 0.7241 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.5347, allocations: 12.36 kB / 0.7241 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.5347, allocations: 16.38 kB / 0.7242 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.5352, allocations: 263.7 kB / 0.7244 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5353, allocations: 192 / 0.7244 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.5353, allocations: 11.94 kB / 0.7244 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5353, allocations: 0 / 0.7244 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.5356, allocations: 164.3 kB / 0.7246 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5367, allocations: 0.7354 MB / 0.7253 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.5372, allocations: 222.5 kB / 0.7255 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.5374, allocations: 132.9 kB / 0.7256 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.5374, allocations: 3.938 kB / 0.7256 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.5378, allocations: 205 kB / 0.7258 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 4.198e-06/0.5378, allocations: 4 kB / 0.7258 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0009747/0.5388, allocations: 497.5 kB / 0.7263 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.5389, allocations: 136.5 kB / 0.7264 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.5392, allocations: 274.7 kB / 0.7267 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5392, allocations: 33.7 kB / 0.7267 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5393, allocations: 160.2 kB / 0.7269 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.5394, allocations: 39.45 kB / 0.7269 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.5394, allocations: 4 kB / 0.7269 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5395, allocations: 338.8 kB / 0.7272 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.5398, allocations: 115.9 kB / 0.7274 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.54, allocations: 165.1 kB / 0.7275 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.5405, allocations: 298.6 kB / 0.7278 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5405, allocations: 96 / 0.7278 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006867/0.5412, allocations: 423.5 kB / 0.7282 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.5413, allocations: 37.69 kB / 0.7282 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5413, allocations: 0 / 0.7282 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5413, allocations: 0 / 0.7282 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.5415, allocations: 35.92 kB / 0.7283 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5415, allocations: 4 kB / 0.7283 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.5417, allocations: 43.91 kB / 0.7283 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5417, allocations: 12 kB / 0.7283 GB, free: 1.688 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.5419, allocations: 191.4 kB / 0.7285 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.542, allocations: 23.72 kB / 0.7285 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.542, allocations: 33.83 kB / 0.7286 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.542, allocations: 4 kB / 0.7286 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.542, allocations: 0 / 0.7286 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5421, allocations: 3.984 kB / 0.7286 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.5423, allocations: 301.4 kB / 0.7289 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5423, allocations: 0 / 0.7289 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5425, allocations: 23.98 kB / 0.7289 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5425, allocations: 3.938 kB / 0.7289 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5425, allocations: 7.984 kB / 0.7289 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5425, allocations: 0 / 0.7289 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5425, allocations: 4 kB / 0.7289 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.5435, allocations: 0.595 MB / 0.7295 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.5436, allocations: 92.86 kB / 0.7296 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5437, allocations: 8 kB / 0.7296 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5438, allocations: 31.97 kB / 0.7296 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.5439, allocations: 32.02 kB / 0.7296 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5439, allocations: 12 kB / 0.7297 GB, free: 232 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001871/0.5441, allocations: 197.9 kB / 0.7298 GB, free: 36 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5441, allocations: 0 / 0.7298 GB, free: 36 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003755/0.5445, allocations: 68.02 kB / 0.7299 GB, free: 15.96 MB / 0.5105 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,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.5448, allocations: 133.5 kB / 0.73 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.5453, allocations: 331.1 kB / 0.7304 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5453, allocations: 0 / 0.7304 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.5456, allocations: 195.5 kB / 0.7305 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.5459, allocations: 37.27 kB / 0.7306 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.547, allocations: 0.526 MB / 0.7311 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5473, allocations: 0.7517 MB / 0.7318 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.922e-05/0.5474, allocations: 13.42 kB / 0.7318 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.5475, allocations: 23.42 kB / 0.7319 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.5475, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.006475/0.554, allocations: 2.546 MB / 0.7343 GB, free: 11.36 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)