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.001368/0.001368, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001434/0.001434, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.9519/0.9519, allocations: 145 MB / 453.8 MB, free: 0.7305 MB / 350.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.002011/0.002011, allocations: 69.64 kB / 0.6285 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 87.82 MB / 0.7142 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003543/0.1752, allocations: 1.971 MB / 0.7162 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1766, allocations: 0.7565 MB / 0.7169 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1767, allocations: 7.938 kB / 0.7169 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.177, allocations: 83.62 kB / 0.717 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1771, allocations: 87.64 kB / 0.7171 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.1777, allocations: 183.6 kB / 0.7173 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.178, allocations: 259.4 kB / 0.7175 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1782, allocations: 53.62 kB / 0.7176 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1784, allocations: 119.6 kB / 0.7177 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1786, allocations: 163.5 kB / 0.7178 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1786, allocations: 20 kB / 0.7178 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1788, allocations: 91.94 kB / 0.7179 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.1789, allocations: 63.77 kB / 0.718 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.179, allocations: 111.3 kB / 0.7181 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1794, allocations: 310.8 kB / 0.7184 GB, free: 14.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1794, allocations: 0 / 0.7184 GB, free: 14.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1794, allocations: 4 kB / 0.7184 GB, free: 14.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1794, allocations: 0 / 0.7184 GB, free: 14.06 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.001024/0.1805, allocations: 0.5914 MB / 0.719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1805, allocations: 8.031 kB / 0.719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.1806, allocations: 32.75 kB / 0.719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.1811, allocations: 311 kB / 0.7193 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1811, allocations: 12.38 kB / 0.7193 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.1812, allocations: 12.38 kB / 0.7193 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.1816, allocations: 224.1 kB / 0.7196 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1816, allocations: 3.938 kB / 0.7196 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1816, allocations: 8 kB / 0.7196 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1817, allocations: 7.984 kB / 0.7196 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1819, allocations: 132.4 kB / 0.7197 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.1829, allocations: 0.677 MB / 0.7204 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.1833, allocations: 154.5 kB / 0.7205 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1835, allocations: 84.91 kB / 0.7206 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1835, allocations: 4 kB / 0.7206 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.1838, allocations: 175.3 kB / 0.7208 GB, free: 11.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1838, allocations: 0 / 0.7208 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007594/0.1846, allocations: 386.9 kB / 0.7211 GB, free: 11.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1847, allocations: 144.4 kB / 0.7213 GB, free: 10.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.185, allocations: 270.7 kB / 0.7215 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.185, allocations: 37.69 kB / 0.7216 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1852, allocations: 160.3 kB / 0.7217 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1852, allocations: 43.64 kB / 0.7218 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.1853, allocations: 41.7 kB / 0.7218 GB, free: 10.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1855, allocations: 334.8 kB / 0.7221 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1856, allocations: 87.91 kB / 0.7222 GB, free: 9.898 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1859, allocations: 137 kB / 0.7223 GB, free: 9.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1863, allocations: 238.7 kB / 0.7226 GB, free: 9.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1863, allocations: 0 / 0.7226 GB, free: 9.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000591/0.1869, allocations: 337.1 kB / 0.7229 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.1869, allocations: 37.7 kB / 0.7229 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1869, allocations: 0 / 0.7229 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1869, allocations: 4 kB / 0.7229 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1871, allocations: 23.92 kB / 0.7229 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1871, allocations: 3.984 kB / 0.7229 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1872, allocations: 23.89 kB / 0.723 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1872, allocations: 12.08 kB / 0.723 GB, free: 9.039 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.0001986/0.1874, allocations: 194 kB / 0.7232 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1875, allocations: 31.81 kB / 0.7232 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.1875, allocations: 29.83 kB / 0.7232 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1875, allocations: 0 / 0.7232 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1875, allocations: 0 / 0.7232 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1875, allocations: 3.984 kB / 0.7232 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1879, allocations: 293.4 kB / 0.7235 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1879, allocations: 4 kB / 0.7235 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.188, allocations: 15.98 kB / 0.7235 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.188, allocations: 0 / 0.7235 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.188, allocations: 7.938 kB / 0.7235 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.188, allocations: 0 / 0.7235 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.188, allocations: 3.984 kB / 0.7235 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/0.1888, allocations: 476.9 kB / 0.724 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.1889, allocations: 96.94 kB / 0.7241 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.1889, allocations: 11.98 kB / 0.7241 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.189, allocations: 8 kB / 0.7241 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.1891, allocations: 27.95 kB / 0.7241 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1892, allocations: 8 kB / 0.7241 GB, free: 7.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002122/0.1894, allocations: 201.9 kB / 0.7243 GB, free: 7.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1894, allocations: 0 / 0.7243 GB, free: 7.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003005/0.1897, allocations: 56.12 kB / 0.7244 GB, free: 7.496 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.0002137/0.1899, allocations: 138 kB / 0.7245 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.1904, allocations: 263.1 kB / 0.7248 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1904, allocations: 0 / 0.7248 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1907, allocations: 151.4 kB / 0.7249 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.191, allocations: 46.53 kB / 0.725 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.1918, allocations: 468 kB / 0.7254 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1922, allocations: 0.7553 MB / 0.7261 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.1923, allocations: 21.53 kB / 0.7262 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.1924, allocations: 15.44 kB / 0.7262 GB, free: 5.578 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1924, allocations: 0 / 0.7262 GB, free: 5.578 MB / 0.545 GB Notification: Performance of Templates: time 0.007116/0.1995, allocations: 2.837 MB / 0.7289 GB, free: 2.762 MB / 0.545 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.793534927070141] Failed to read output from testmodel.py, exit status != 0: 0.2074522115290165 0.22167776899999994 0.039201683 Calling exit ...