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.001783/0.001783, allocations: 103.6 kB / 16.45 MB, free: 6.457 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.001358/0.001358, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.533/1.533, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9162/0.9162, allocations: 145.2 MB / 447.9 MB, free: 6.34 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.6.0-master/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.001998/0.001998, allocations: 68.25 kB / 0.6204 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1983, allocations: 86.64 MB / 0.705 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003543/0.2019, allocations: 1.966 MB / 0.707 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2032, allocations: 0.7206 MB / 0.7077 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2033, allocations: 7.938 kB / 0.7077 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.2035, allocations: 83.62 kB / 0.7077 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2037, allocations: 87.64 kB / 0.7078 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.2043, allocations: 190.3 kB / 0.708 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2046, allocations: 251.5 kB / 0.7082 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2048, allocations: 57.81 kB / 0.7083 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2049, allocations: 115.7 kB / 0.7084 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.2051, allocations: 163.4 kB / 0.7086 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.2052, allocations: 20 kB / 0.7086 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.2053, allocations: 91.94 kB / 0.7087 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.2054, allocations: 63.77 kB / 0.7087 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.2055, allocations: 111.3 kB / 0.7088 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.2059, allocations: 310.8 kB / 0.7091 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2059, allocations: 4 kB / 0.7091 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2059, allocations: 0 / 0.7091 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2059, allocations: 0 / 0.7091 GB, free: 5.945 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.0009158/0.2069, allocations: 0.5894 MB / 0.7097 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2069, allocations: 12.03 kB / 0.7097 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.207, allocations: 28.75 kB / 0.7098 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.2075, allocations: 311 kB / 0.7101 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2076, allocations: 12.38 kB / 0.7101 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.2076, allocations: 12.38 kB / 0.7101 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.208, allocations: 232 kB / 0.7103 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.208, allocations: 0 / 0.7103 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.208, allocations: 4 kB / 0.7103 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2081, allocations: 4 kB / 0.7103 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2084, allocations: 132.4 kB / 0.7104 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.2093, allocations: 0.6809 MB / 0.7111 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.2097, allocations: 154.6 kB / 0.7112 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2099, allocations: 88.89 kB / 0.7113 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2099, allocations: 4 kB / 0.7113 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.2102, allocations: 169 kB / 0.7115 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2102, allocations: 0 / 0.7115 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000735/0.2109, allocations: 379 kB / 0.7119 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.211, allocations: 136.6 kB / 0.712 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.2113, allocations: 286.6 kB / 0.7123 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2113, allocations: 29.7 kB / 0.7123 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.2115, allocations: 156.3 kB / 0.7124 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.2116, allocations: 39.69 kB / 0.7125 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.2116, allocations: 41.7 kB / 0.7125 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2118, allocations: 342.8 kB / 0.7128 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.212, allocations: 87.89 kB / 0.7129 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.2122, allocations: 135.8 kB / 0.7131 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.2126, allocations: 249.1 kB / 0.7133 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2126, allocations: 3.938 kB / 0.7133 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006198/0.2132, allocations: 335 kB / 0.7136 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.2132, allocations: 41.69 kB / 0.7137 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2132, allocations: 8.078 kB / 0.7137 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2133, allocations: 4 kB / 0.7137 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2134, allocations: 19.98 kB / 0.7137 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2134, allocations: 4 kB / 0.7137 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2135, allocations: 23.88 kB / 0.7137 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2136, allocations: 8 kB / 0.7137 GB, free: 0.9141 MB / 0.5294 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.0001903/0.2137, allocations: 191.4 kB / 0.7139 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.2138, allocations: 31.86 kB / 0.7139 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.2138, allocations: 29.83 kB / 0.714 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2138, allocations: 0 / 0.714 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2139, allocations: 4 kB / 0.714 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2139, allocations: 0 / 0.714 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2142, allocations: 297.3 kB / 0.7142 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2142, allocations: 4 kB / 0.7143 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2143, allocations: 12 kB / 0.7143 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2143, allocations: 0 / 0.7143 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.2143, allocations: 7.984 kB / 0.7143 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2143, allocations: 4 kB / 0.7143 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2143, allocations: 0 / 0.7143 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.2151, allocations: 469 kB / 0.7147 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.2151, allocations: 100.9 kB / 0.7148 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.2152, allocations: 12 kB / 0.7148 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2153, allocations: 11.98 kB / 0.7148 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.2154, allocations: 28.03 kB / 0.7149 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2154, allocations: 7.984 kB / 0.7149 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002433/0.2157, allocations: 202 kB / 0.7151 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2157, allocations: 0 / 0.7151 GB, free: 15.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003109/0.216, allocations: 63.83 kB / 0.7151 GB, free: 15.36 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.0002571/0.2162, allocations: 140.9 kB / 0.7153 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.2167, allocations: 263.3 kB / 0.7155 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2168, allocations: 0 / 0.7155 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.217, allocations: 159.3 kB / 0.7157 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2173, allocations: 30.78 kB / 0.7157 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2184, allocations: 476.7 kB / 0.7162 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2188, allocations: 0.7553 MB / 0.7169 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.609e-05/0.2188, allocations: 13.55 kB / 0.7169 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2189, allocations: 19.44 kB / 0.7169 GB, free: 13.45 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.2189, allocations: 4 kB / 0.7169 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Templates: time 0.007007/0.2259, allocations: 2.854 MB / 0.7197 GB, free: 10.6 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.778262200765312]