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.0008097/0.0008098, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008847/0.0008847, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.3 MB / 240 MB, free: 5.414 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.8598/0.8598, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 83.41 MB / 0.5972 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001826/0.1286, allocations: 1.61 MB / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.1296, allocations: 0.6667 MB / 0.5995 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1297, allocations: 0 / 0.5995 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1299, allocations: 75.75 kB / 0.5995 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.13, allocations: 83.7 kB / 0.5996 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.1304, allocations: 130.6 kB / 0.5997 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1307, allocations: 215.5 kB / 0.6 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1308, allocations: 49.66 kB / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1309, allocations: 91.67 kB / 0.6001 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1311, allocations: 119.5 kB / 0.6002 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1311, allocations: 4 kB / 0.6002 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1312, allocations: 75.94 kB / 0.6003 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1313, allocations: 43.81 kB / 0.6003 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.1314, allocations: 69.52 kB / 0.6004 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1316, allocations: 219.7 kB / 0.6006 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1316, allocations: 0 / 0.6006 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1316, allocations: 4 kB / 0.6006 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1316, allocations: 0 / 0.6006 GB, free: 4.648 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.0006795/0.1323, allocations: 0.5429 MB / 0.6011 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1323, allocations: 8.031 kB / 0.6011 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1324, allocations: 35.58 kB / 0.6012 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1328, allocations: 305.5 kB / 0.6015 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1328, allocations: 12 kB / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1329, allocations: 12 kB / 0.6015 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1332, allocations: 231.7 kB / 0.6017 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1332, allocations: 3.984 kB / 0.6017 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1333, allocations: 4 kB / 0.6017 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1333, allocations: 4 kB / 0.6017 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1335, allocations: 135.6 kB / 0.6018 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.1342, allocations: 0.6924 MB / 0.6025 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1346, allocations: 182.7 kB / 0.6027 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1347, allocations: 92.92 kB / 0.6028 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1347, allocations: 3.938 kB / 0.6028 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.135, allocations: 179.3 kB / 0.603 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.135, allocations: 4 kB / 0.603 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005989/0.1356, allocations: 378.9 kB / 0.6033 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.1357, allocations: 136.5 kB / 0.6035 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1359, allocations: 286.5 kB / 0.6037 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.136, allocations: 37.8 kB / 0.6038 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.1361, allocations: 156.2 kB / 0.6039 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.1361, allocations: 43.39 kB / 0.604 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.1362, allocations: 4 kB / 0.604 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1363, allocations: 334.8 kB / 0.6043 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1364, allocations: 92.05 kB / 0.6044 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1366, allocations: 136.1 kB / 0.6045 GB, free: 380 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1368, allocations: 117.6 kB / 0.6046 GB, free: 256 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1368, allocations: 0 / 0.6046 GB, free: 256 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.2222/0.359, allocations: 339.9 kB / 0.6049 GB, free: 41.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.3591, allocations: 38.8 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3591, allocations: 3.531 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3591, allocations: 2.5 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3593, allocations: 24.16 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3593, allocations: 4.375 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3594, allocations: 29.22 kB / 0.605 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3594, allocations: 4.875 kB / 0.605 GB, free: 41.07 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 ($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.0001476/0.3596, allocations: 198.2 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.3596, allocations: 26.27 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.3597, allocations: 28.52 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3597, allocations: 1.891 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3597, allocations: 2.266 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3597, allocations: 2.656 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3599, allocations: 287.9 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3599, allocations: 3.5 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.36, allocations: 17.06 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.36, allocations: 3.781 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3601, allocations: 9.75 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3601, allocations: 2.75 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3601, allocations: 1.125 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.3606, allocations: 480.3 kB / 0.6061 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3607, allocations: 98.34 kB / 0.6061 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3607, allocations: 11.94 kB / 0.6062 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.3608, allocations: 19.91 kB / 0.6062 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.3609, allocations: 27.98 kB / 0.6062 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3609, allocations: 6.625 kB / 0.6062 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001238/0.361, allocations: 202.2 kB / 0.6064 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 0 / 0.6064 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002464/0.3613, allocations: 62.64 kB / 0.6065 GB, free: 40.47 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 (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.0001293/0.3614, allocations: 125.3 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3618, allocations: 300.1 kB / 0.6069 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3618, allocations: 6.688 kB / 0.6069 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.362, allocations: 191.9 kB / 0.6071 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3622, allocations: 29.81 kB / 0.6071 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.3629, allocations: 0.5169 MB / 0.6076 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3631, allocations: 0.7502 MB / 0.6083 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.496e-05/0.3632, allocations: 25 kB / 0.6083 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.3632, allocations: 17.94 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.3632, allocations: 0 / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.004346/0.3676, allocations: 2.457 MB / 0.6108 GB, free: 39.2 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)