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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 192.2 kB / 16.14 MB, free: 6.656 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9523/0.9523, allocations: 143 MB / 433 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.84 kB / 0.5135 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1584, allocations: 82.04 MB / 0.5936 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00319/0.1616, allocations: 1.995 MB / 0.5956 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1628, allocations: 0.7169 MB / 0.5963 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1629, allocations: 7.938 kB / 0.5963 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1632, allocations: 75.75 kB / 0.5963 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1633, allocations: 87.69 kB / 0.5964 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.1638, allocations: 156.3 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.164, allocations: 235.5 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1642, allocations: 77.98 kB / 0.5969 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1643, allocations: 87.73 kB / 0.597 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1645, allocations: 147.5 kB / 0.5971 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1646, allocations: 8 kB / 0.5971 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1647, allocations: 91.84 kB / 0.5972 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.1648, allocations: 43.84 kB / 0.5972 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1649, allocations: 91.34 kB / 0.5973 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1653, allocations: 295.1 kB / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1653, allocations: 4 kB / 0.5976 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1653, allocations: 0 / 0.5976 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1653, allocations: 0 / 0.5976 GB, free: 6.016 MB / 0.4981 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.0008525/0.1662, allocations: 0.5741 MB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1662, allocations: 12.03 kB / 0.5982 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.1663, allocations: 32.5 kB / 0.5982 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.1667, allocations: 302.9 kB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1667, allocations: 8.375 kB / 0.5985 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1668, allocations: 20.31 kB / 0.5985 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.1672, allocations: 223.9 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1672, allocations: 0 / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.1672, allocations: 8 kB / 0.5987 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1672, allocations: 4 kB / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.1675, allocations: 135.4 kB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.1684, allocations: 0.6885 MB / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1688, allocations: 174.5 kB / 0.5997 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1689, allocations: 104.9 kB / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.169, allocations: 0 / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.1693, allocations: 167.5 kB / 0.6 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1693, allocations: 4 kB / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006367/0.17, allocations: 371 kB / 0.6003 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.17, allocations: 132.5 kB / 0.6005 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1703, allocations: 286.6 kB / 0.6007 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1703, allocations: 29.64 kB / 0.6008 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1705, allocations: 164.1 kB / 0.6009 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1705, allocations: 39.45 kB / 0.601 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.1706, allocations: 41.7 kB / 0.601 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1707, allocations: 338.8 kB / 0.6013 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1709, allocations: 91.83 kB / 0.6014 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1711, allocations: 131.9 kB / 0.6015 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.1714, allocations: 241.2 kB / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1714, allocations: 0 / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004718/0.1719, allocations: 339 kB / 0.6021 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.1719, allocations: 33.7 kB / 0.6021 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1719, allocations: 0 / 0.6021 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.172, allocations: 12.08 kB / 0.6021 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1721, allocations: 19.94 kB / 0.6021 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1721, allocations: 7.984 kB / 0.6022 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1722, allocations: 23.83 kB / 0.6022 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1722, allocations: 8 kB / 0.6022 GB, free: 0.9922 MB / 0.4981 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.1724, allocations: 188.1 kB / 0.6024 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1724, allocations: 31.66 kB / 0.6024 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.1725, allocations: 29.83 kB / 0.6024 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1725, allocations: 4 kB / 0.6024 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1725, allocations: 0 / 0.6024 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1725, allocations: 3.984 kB / 0.6024 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1728, allocations: 289.5 kB / 0.6027 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1728, allocations: 3.938 kB / 0.6027 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.1729, allocations: 15.98 kB / 0.6027 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1729, allocations: 0 / 0.6027 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1729, allocations: 11.98 kB / 0.6027 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1729, allocations: 0 / 0.6027 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1729, allocations: 4 kB / 0.6027 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3091/0.4821, allocations: 466.5 kB / 0.6032 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.4822, allocations: 96.73 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.4823, allocations: 6.688 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4824, allocations: 13.38 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.4825, allocations: 28.56 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4825, allocations: 10.83 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001938/0.4827, allocations: 202.4 kB / 0.6035 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4827, allocations: 0 / 0.6035 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003626/0.4831, allocations: 55.69 kB / 0.6036 GB, free: 44.21 MB / 0.4981 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 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.4833, allocations: 130.5 kB / 0.6037 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.4837, allocations: 296.9 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4837, allocations: 2.375 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.484, allocations: 179.8 kB / 0.6042 GB, free: 44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4843, allocations: 34.81 kB / 0.6042 GB, free: 44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.4852, allocations: 0.5317 MB / 0.6047 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.4854, allocations: 0.7542 MB / 0.6055 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.494e-05/0.4855, allocations: 25.44 kB / 0.6055 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.4856, allocations: 16.19 kB / 0.6055 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4856, allocations: 0 / 0.6055 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.005192/0.4908, allocations: 2.546 MB / 0.608 GB, free: 42.95 MB / 0.4981 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)