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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001869/0.001869, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.789 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.8967/0.8967, allocations: 145 MB / 457.4 MB, free: 15.29 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.002245/0.002245, allocations: 63.06 kB / 0.6335 GB, free: 6.223 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1761, allocations: 87.89 MB / 0.7194 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003853/0.18, allocations: 1.909 MB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1816, allocations: 0.7057 MB / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1818, allocations: 4 kB / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1821, allocations: 87.64 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1822, allocations: 95.55 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.1829, allocations: 190.9 kB / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.1833, allocations: 263.4 kB / 0.7225 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1834, allocations: 49.86 kB / 0.7226 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1836, allocations: 119.7 kB / 0.7227 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1839, allocations: 143.5 kB / 0.7228 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.1839, allocations: 24 kB / 0.7229 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1841, allocations: 91.86 kB / 0.723 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.577e-05/0.1842, allocations: 59.83 kB / 0.723 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1843, allocations: 83.48 kB / 0.7231 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.1847, allocations: 314.8 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1848, allocations: 4 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1848, allocations: 0 / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.1848, allocations: 4 kB / 0.7234 GB, free: 10.2 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.0009774/0.1857, allocations: 0.5103 MB / 0.7239 GB, free: 9.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1858, allocations: 12.03 kB / 0.7239 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.1859, allocations: 28.75 kB / 0.7239 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.1864, allocations: 249.1 kB / 0.7242 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.1865, allocations: 12.38 kB / 0.7242 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1865, allocations: 12.38 kB / 0.7242 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.187, allocations: 320.8 kB / 0.7245 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.187, allocations: 0 / 0.7245 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.187, allocations: 4 kB / 0.7245 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.187, allocations: 4 kB / 0.7245 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.1873, allocations: 166 kB / 0.7247 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.1883, allocations: 0.5714 MB / 0.7252 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.1887, allocations: 184.2 kB / 0.7254 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1889, allocations: 122.6 kB / 0.7255 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1889, allocations: 4 kB / 0.7255 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.1892, allocations: 202.7 kB / 0.7257 GB, free: 7.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1892, allocations: 0 / 0.7257 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000772/0.19, allocations: 441.2 kB / 0.7261 GB, free: 7.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.1901, allocations: 136.5 kB / 0.7263 GB, free: 7.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1903, allocations: 269.9 kB / 0.7265 GB, free: 6.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1904, allocations: 25.8 kB / 0.7266 GB, free: 6.711 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1905, allocations: 164.3 kB / 0.7267 GB, free: 6.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.1906, allocations: 47.64 kB / 0.7268 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.1906, allocations: 45.7 kB / 0.7268 GB, free: 6.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1908, allocations: 330.8 kB / 0.7271 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.191, allocations: 117.7 kB / 0.7272 GB, free: 5.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1912, allocations: 223.2 kB / 0.7274 GB, free: 5.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1916, allocations: 245.2 kB / 0.7277 GB, free: 5.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1916, allocations: 4 kB / 0.7277 GB, free: 5.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005724/0.1922, allocations: 376.7 kB / 0.728 GB, free: 5.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.1922, allocations: 37.69 kB / 0.7281 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1922, allocations: 0 / 0.7281 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1922, allocations: 3.938 kB / 0.7281 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1923, allocations: 27.98 kB / 0.7281 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1924, allocations: 0 / 0.7281 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1925, allocations: 27.97 kB / 0.7281 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1925, allocations: 7.938 kB / 0.7281 GB, free: 4.98 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.000204/0.1927, allocations: 201 kB / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1927, allocations: 23.86 kB / 0.7284 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.1928, allocations: 29.77 kB / 0.7284 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1928, allocations: 0 / 0.7284 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1928, allocations: 0 / 0.7284 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1928, allocations: 0 / 0.7284 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.193, allocations: 213 kB / 0.7286 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.193, allocations: 4 kB / 0.7286 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1931, allocations: 19.98 kB / 0.7286 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1931, allocations: 3.984 kB / 0.7286 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1932, allocations: 7.938 kB / 0.7286 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1932, allocations: 0 / 0.7286 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1932, allocations: 3.984 kB / 0.7286 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.194, allocations: 0.5175 MB / 0.7291 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.194, allocations: 23.81 kB / 0.7291 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.1941, allocations: 16.06 kB / 0.7292 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1942, allocations: 11.98 kB / 0.7292 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1942, allocations: 23.95 kB / 0.7292 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1943, allocations: 4 kB / 0.7292 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001944/0.1944, allocations: 197.1 kB / 0.7294 GB, free: 3.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1944, allocations: 0 / 0.7294 GB, free: 3.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002752/0.1947, allocations: 55.89 kB / 0.7294 GB, free: 3.555 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.0002054/0.1949, allocations: 131.2 kB / 0.7296 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.1955, allocations: 330.1 kB / 0.7299 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1955, allocations: 7.875 kB / 0.7299 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.1957, allocations: 189 kB / 0.7301 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.196, allocations: 38.3 kB / 0.7301 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.1968, allocations: 497.1 kB / 0.7306 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.197, allocations: 136.7 kB / 0.7307 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.901e-05/0.1971, allocations: 17.42 kB / 0.7307 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.1971, allocations: 15.44 kB / 0.7307 GB, free: 2.125 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1971, allocations: 4 kB / 0.7307 GB, free: 2.121 MB / 0.545 GB Notification: Performance of Templates: time 0.007071/0.2042, allocations: 3.07 MB / 0.7337 GB, free: 15.09 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: 5.490417521446943] Failed to read output from testmodel.py, exit status != 0: 0.21276602149009705 0.226516144 0.038708443 Calling exit ...