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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 221.6 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.878/0.878, allocations: 145 MB / 458.2 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 70.44 kB / 0.6343 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 87.89 MB / 0.7201 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003213/0.1676, allocations: 1.923 MB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1689, allocations: 0.7135 MB / 0.7227 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.169, allocations: 4 kB / 0.7227 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1692, allocations: 75.66 kB / 0.7228 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1694, allocations: 99.5 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.1699, allocations: 187.6 kB / 0.723 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1702, allocations: 255.5 kB / 0.7233 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1704, allocations: 57.84 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1705, allocations: 115.7 kB / 0.7235 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1707, allocations: 151.5 kB / 0.7236 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.1708, allocations: 20 kB / 0.7236 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1709, allocations: 87.88 kB / 0.7237 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.171, allocations: 67.77 kB / 0.7238 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.1711, allocations: 79.52 kB / 0.7238 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.1715, allocations: 326.7 kB / 0.7242 GB, free: 10.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1715, allocations: 0 / 0.7242 GB, free: 10.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1715, allocations: 0 / 0.7242 GB, free: 10.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.1715, allocations: 0 / 0.7242 GB, free: 10.17 MB / 0.545 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.0008243/0.1723, allocations: 0.5084 MB / 0.7247 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1724, allocations: 8.031 kB / 0.7247 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.1724, allocations: 36.73 kB / 0.7247 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.1729, allocations: 249.1 kB / 0.7249 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.173, allocations: 12.36 kB / 0.7249 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.173, allocations: 20.38 kB / 0.725 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.1734, allocations: 304.9 kB / 0.7253 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1734, allocations: 0 / 0.7253 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1735, allocations: 8 kB / 0.7253 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1735, allocations: 4 kB / 0.7253 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1737, allocations: 166 kB / 0.7254 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.1745, allocations: 0.5714 MB / 0.726 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1749, allocations: 184.2 kB / 0.7262 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.1751, allocations: 118.6 kB / 0.7263 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1751, allocations: 4 kB / 0.7263 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.1754, allocations: 202.7 kB / 0.7265 GB, free: 7.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1754, allocations: 3.938 kB / 0.7265 GB, free: 7.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007127/0.1761, allocations: 446.4 kB / 0.7269 GB, free: 7.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.1761, allocations: 136.5 kB / 0.727 GB, free: 6.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1764, allocations: 261.9 kB / 0.7273 GB, free: 6.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.1764, allocations: 33.7 kB / 0.7273 GB, free: 6.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1766, allocations: 160.3 kB / 0.7275 GB, free: 6.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.1766, allocations: 39.64 kB / 0.7275 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1767, allocations: 41.7 kB / 0.7275 GB, free: 6.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1768, allocations: 334.8 kB / 0.7279 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.177, allocations: 117.6 kB / 0.728 GB, free: 5.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.1772, allocations: 227.1 kB / 0.7282 GB, free: 5.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.1776, allocations: 238.8 kB / 0.7284 GB, free: 5.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1776, allocations: 0 / 0.7284 GB, free: 5.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005401/0.1781, allocations: 386.5 kB / 0.7288 GB, free: 5.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.1782, allocations: 37.7 kB / 0.7288 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1782, allocations: 4 kB / 0.7288 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1782, allocations: 0 / 0.7288 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1783, allocations: 19.98 kB / 0.7288 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1783, allocations: 7.938 kB / 0.7289 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1784, allocations: 23.88 kB / 0.7289 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1784, allocations: 8 kB / 0.7289 GB, free: 4.961 MB / 0.545 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.0001856/0.1786, allocations: 202.5 kB / 0.7291 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1787, allocations: 23.86 kB / 0.7291 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.1787, allocations: 29.77 kB / 0.7291 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1787, allocations: 0 / 0.7291 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1787, allocations: 4 kB / 0.7291 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1787, allocations: 0 / 0.7291 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1789, allocations: 205.1 kB / 0.7293 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1789, allocations: 8 kB / 0.7293 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.179, allocations: 23.86 kB / 0.7294 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.179, allocations: 0 / 0.7294 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1791, allocations: 12 kB / 0.7294 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1791, allocations: 0 / 0.7294 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1791, allocations: 0 / 0.7294 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.1798, allocations: 0.5238 MB / 0.7299 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1799, allocations: 19.8 kB / 0.7299 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1799, allocations: 8 kB / 0.7299 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.18, allocations: 15.98 kB / 0.7299 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.1801, allocations: 31.88 kB / 0.73 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1801, allocations: 4.062 kB / 0.73 GB, free: 3.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001821/0.1803, allocations: 197.2 kB / 0.7301 GB, free: 3.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1803, allocations: 0 / 0.7301 GB, free: 3.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002753/0.1806, allocations: 64.06 kB / 0.7302 GB, free: 3.523 MB / 0.545 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.0001864/0.1808, allocations: 125.9 kB / 0.7303 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.1813, allocations: 330.6 kB / 0.7306 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1813, allocations: 4.188 kB / 0.7306 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1815, allocations: 193 kB / 0.7308 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1818, allocations: 28.42 kB / 0.7309 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.1826, allocations: 0.4997 MB / 0.7313 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.1827, allocations: 144.7 kB / 0.7315 GB, free: 2.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.1828, allocations: 19.44 kB / 0.7315 GB, free: 2.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1828, allocations: 0 / 0.7315 GB, free: 2.086 MB / 0.545 GB Notification: Performance of Templates: time 0.005294/0.1881, allocations: 3.045 MB / 0.7345 GB, free: 15.05 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.759042346850038] Failed to read output from testmodel.py, exit status != 0: 0.19643496815115213 0.20986831299999995 0.03553168 Calling exit ...