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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 105.7 kB / 19.59 MB, free: 2.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 186.9 kB / 22.85 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9627/0.9627, allocations: 144.9 MB / 451.7 MB, free: 5.496 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.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=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: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 72.34 kB / 0.6256 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1913, allocations: 86.7 MB / 0.7103 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003339/0.1946, allocations: 1.967 MB / 0.7122 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1959, allocations: 0.7207 MB / 0.7129 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.196, allocations: 3.938 kB / 0.7129 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1963, allocations: 87.64 kB / 0.713 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1964, allocations: 91.56 kB / 0.7131 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.197, allocations: 183.7 kB / 0.7133 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1974, allocations: 267.4 kB / 0.7135 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1975, allocations: 54.16 kB / 0.7136 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1977, allocations: 115.7 kB / 0.7137 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1979, allocations: 159.5 kB / 0.7138 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.198, allocations: 20 kB / 0.7139 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1981, allocations: 95.94 kB / 0.714 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.1982, allocations: 59.75 kB / 0.714 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1983, allocations: 107.4 kB / 0.7141 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.1988, allocations: 318.7 kB / 0.7144 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1988, allocations: 4 kB / 0.7144 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1988, allocations: 0 / 0.7144 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1988, allocations: 0 / 0.7144 GB, free: 4.578 MB / 0.5294 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.0008798/0.1997, allocations: 0.5141 MB / 0.7149 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1997, allocations: 16.02 kB / 0.7149 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1998, allocations: 36.69 kB / 0.715 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.2003, allocations: 245.2 kB / 0.7152 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2003, allocations: 12.38 kB / 0.7152 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2003, allocations: 16.36 kB / 0.7152 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.2008, allocations: 317.4 kB / 0.7155 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2008, allocations: 0 / 0.7155 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2008, allocations: 8 kB / 0.7155 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2008, allocations: 4 kB / 0.7155 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2011, allocations: 154.1 kB / 0.7157 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.202, allocations: 0.6527 MB / 0.7163 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.2024, allocations: 184.3 kB / 0.7165 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.2025, allocations: 130 kB / 0.7166 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2026, allocations: 0 / 0.7166 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.2028, allocations: 201.5 kB / 0.7168 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2029, allocations: 0 / 0.7168 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007251/0.2036, allocations: 442.4 kB / 0.7172 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.2037, allocations: 136.5 kB / 0.7174 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.2039, allocations: 281.8 kB / 0.7176 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.204, allocations: 33.8 kB / 0.7177 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2041, allocations: 160.3 kB / 0.7178 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.2041, allocations: 43.67 kB / 0.7179 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.2042, allocations: 37.7 kB / 0.7179 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2044, allocations: 338.8 kB / 0.7182 GB, free: 388 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2046, allocations: 121.6 kB / 0.7183 GB, free: 260 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.2048, allocations: 223 kB / 0.7186 GB, free: 4 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.2052, allocations: 253 kB / 0.7188 GB, free: 15.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2052, allocations: 0 / 0.7188 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005306/0.2057, allocations: 376.7 kB / 0.7192 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.2058, allocations: 37.69 kB / 0.7192 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2058, allocations: 0 / 0.7192 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2058, allocations: 4 kB / 0.7192 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2059, allocations: 23.98 kB / 0.7192 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2059, allocations: 8.094 kB / 0.7192 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.206, allocations: 19.88 kB / 0.7192 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2061, allocations: 8 kB / 0.7193 GB, free: 15.24 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.0001888/0.2062, allocations: 200.8 kB / 0.7194 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.2063, allocations: 27.86 kB / 0.7195 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.2063, allocations: 25.77 kB / 0.7195 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2063, allocations: 0 / 0.7195 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2064, allocations: 8 kB / 0.7195 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2064, allocations: 0 / 0.7195 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.2066, allocations: 264.5 kB / 0.7198 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2066, allocations: 0 / 0.7198 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2067, allocations: 19.98 kB / 0.7198 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2067, allocations: 0 / 0.7198 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.2068, allocations: 4 kB / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2068, allocations: 0 / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2068, allocations: 0 / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.2075, allocations: 0.529 MB / 0.7203 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.2076, allocations: 23.88 kB / 0.7203 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2076, allocations: 8 kB / 0.7203 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2077, allocations: 15.98 kB / 0.7203 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.2078, allocations: 27.95 kB / 0.7204 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2078, allocations: 8 kB / 0.7204 GB, free: 14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001912/0.208, allocations: 201.3 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.208, allocations: 3.938 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002783/0.2083, allocations: 59.88 kB / 0.7206 GB, free: 13.74 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.000208/0.2085, allocations: 139 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.209, allocations: 322.7 kB / 0.7211 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.209, allocations: 8.125 kB / 0.7211 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.2092, allocations: 193 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.2095, allocations: 28.48 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2106, allocations: 0.538 MB / 0.7218 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.211, allocations: 0.7476 MB / 0.7225 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.211, allocations: 23.42 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.211, allocations: 0 / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Templates: time 0.0056/0.2166, allocations: 3.014 MB / 0.7255 GB, free: 8.625 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: 8.556584024103358] Failed to read output from testmodel.py, exit status != 0: 0.22493031597696245 0.23936120000000002 0.037542391 Calling exit ...