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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8668/0.8668, 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.001197/0.001197, allocations: 178.3 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 1.598/1.598, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008141/0.0008142, allocations: 101.3 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8.5 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.182, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.349, allocations: 105.8 MB / 0.7387 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.3495, allocations: 87.94 kB / 0.7387 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5099/0.8593, allocations: 5.841 MB / 0.7444 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.759e-06/0.8594, allocations: 0 / 0.7444 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.694e-05/0.8595, allocations: 4.656 kB / 0.7445 GB, free: 108.3 MB / 0.5105 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.001144/0.8606, allocations: 0.5885 MB / 0.745 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.8607, allocations: 10.41 kB / 0.745 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.8608, allocations: 29.48 kB / 0.7451 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.8613, allocations: 288.8 kB / 0.7453 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.8614, allocations: 13.84 kB / 0.7454 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.8614, allocations: 20.92 kB / 0.7454 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.862, allocations: 265.7 kB / 0.7456 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8621, allocations: 0.8438 kB / 0.7456 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.8621, allocations: 10.7 kB / 0.7456 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.8621, allocations: 3.312 kB / 0.7456 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.8625, allocations: 166.5 kB / 0.7458 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.8636, allocations: 0.7321 MB / 0.7465 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.8642, allocations: 214.2 kB / 0.7467 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.8643, allocations: 2.641 kB / 0.7467 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.8647, allocations: 210.7 kB / 0.7469 GB, free: 107 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.8647, allocations: 0 / 0.7469 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001266/0.8659, allocations: 0.5562 MB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.866, allocations: 139.1 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.8664, allocations: 249.7 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.8664, allocations: 34.03 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.8665, allocations: 155.3 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.8666, allocations: 44.81 kB / 0.7481 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.8666, allocations: 2.812 kB / 0.7481 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8668, allocations: 339 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.8671, allocations: 119.2 kB / 0.7485 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.8674, allocations: 162.4 kB / 0.7487 GB, free: 106 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.8677, allocations: 147.6 kB / 0.7488 GB, free: 106 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8677, allocations: 0 / 0.7488 GB, free: 106 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008757/0.8686, allocations: 412 kB / 0.7492 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.8687, allocations: 43.5 kB / 0.7492 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8687, allocations: 7.656 kB / 0.7492 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.8687, allocations: 2.188 kB / 0.7492 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.8689, allocations: 26.95 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.8689, allocations: 3.281 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8691, allocations: 49.33 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.8692, allocations: 11.97 kB / 0.7493 GB, free: 105.9 MB / 0.5105 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.0002261/0.8694, allocations: 193.8 kB / 0.7495 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.8695, allocations: 23.62 kB / 0.7495 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.8696, allocations: 28.05 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8696, allocations: 2.188 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.8696, allocations: 0.6875 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8696, allocations: 4.75 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.8701, allocations: 308.5 kB / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8701, allocations: 0 / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.8702, allocations: 19.58 kB / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8702, allocations: 4.062 kB / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.8703, allocations: 9.188 kB / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8703, allocations: 5.641 kB / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8703, allocations: 0 / 0.7499 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.8715, allocations: 0.5856 MB / 0.7505 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.8716, allocations: 99.88 kB / 0.7506 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.8716, allocations: 8.625 kB / 0.7506 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.8718, allocations: 28.97 kB / 0.7506 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.8719, allocations: 26.69 kB / 0.7506 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.872, allocations: 19.38 kB / 0.7506 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002017/0.8722, allocations: 201.6 kB / 0.7508 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.282e-06/0.8722, allocations: 3.938 kB / 0.7508 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003868/0.8726, allocations: 62.56 kB / 0.7509 GB, free: 105.2 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.0002654/0.8728, allocations: 137.2 kB / 0.751 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.8735, allocations: 319.7 kB / 0.7513 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8735, allocations: 0 / 0.7513 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.8738, allocations: 200.7 kB / 0.7515 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.8741, allocations: 28.19 kB / 0.7516 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.8752, allocations: 0.5276 MB / 0.7521 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.8755, allocations: 0.7612 MB / 0.7528 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.637e-05/0.8756, allocations: 14.39 kB / 0.7528 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.8757, allocations: 14.39 kB / 0.7528 GB, free: 104 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.8757, allocations: 2.875 kB / 0.7528 GB, free: 104 MB / 0.5105 GB Notification: Performance of Templates: time 0.00783/0.8835, allocations: 2.513 MB / 0.7553 GB, free: 103.8 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)