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.001555/0.001555, allocations: 117.2 kB / 17.13 MB, free: 5.758 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.001767/0.001767, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.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.9163/0.9163, allocations: 145.2 MB / 448.6 MB, free: 13.71 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.001899/0.001899, allocations: 74.22 kB / 0.6211 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1411, allocations: 86.63 MB / 0.7057 GB, free: 2.727 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003354/0.1445, allocations: 1.973 MB / 0.7076 GB, free: 0.7383 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1457, allocations: 0.7207 MB / 0.7083 GB, free: 12 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1459, allocations: 7.938 kB / 0.7083 GB, free: 4 kB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1461, allocations: 79.8 kB / 0.7084 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1462, allocations: 95.58 kB / 0.7085 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1468, allocations: 181.3 kB / 0.7087 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.1471, allocations: 259.3 kB / 0.7089 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1473, allocations: 57.81 kB / 0.709 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1474, allocations: 111.7 kB / 0.7091 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1476, allocations: 163.5 kB / 0.7092 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.1477, allocations: 20 kB / 0.7093 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1478, allocations: 95.92 kB / 0.7093 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1479, allocations: 51.83 kB / 0.7094 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.148, allocations: 119.3 kB / 0.7095 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1485, allocations: 310.8 kB / 0.7098 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1485, allocations: 3.938 kB / 0.7098 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1485, allocations: 0 / 0.7098 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1485, allocations: 0 / 0.7098 GB, free: 14.49 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.0009163/0.1494, allocations: 0.5894 MB / 0.7104 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1494, allocations: 12.03 kB / 0.7104 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.1495, allocations: 28.75 kB / 0.7104 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.15, allocations: 311 kB / 0.7107 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1501, allocations: 16.38 kB / 0.7107 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1501, allocations: 12.38 kB / 0.7107 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.1505, allocations: 223.9 kB / 0.711 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1505, allocations: 3.938 kB / 0.711 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1506, allocations: 7.984 kB / 0.711 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1506, allocations: 4 kB / 0.711 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1508, allocations: 132.3 kB / 0.7111 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1518, allocations: 0.6848 MB / 0.7118 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.1522, allocations: 154.6 kB / 0.7119 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.1523, allocations: 88.94 kB / 0.712 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1523, allocations: 96 / 0.712 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.1526, allocations: 173 kB / 0.7122 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1526, allocations: 0 / 0.7122 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007233/0.1534, allocations: 375 kB / 0.7125 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.1534, allocations: 136.5 kB / 0.7127 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1537, allocations: 282.7 kB / 0.7129 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1538, allocations: 33.69 kB / 0.713 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1539, allocations: 160.3 kB / 0.7131 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.1539, allocations: 43.69 kB / 0.7132 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.154, allocations: 37.7 kB / 0.7132 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1542, allocations: 334.8 kB / 0.7135 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1544, allocations: 87.91 kB / 0.7136 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1546, allocations: 139.9 kB / 0.7137 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.1549, allocations: 240.6 kB / 0.714 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1549, allocations: 3.938 kB / 0.714 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000536/0.1555, allocations: 341.3 kB / 0.7143 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.1555, allocations: 33.7 kB / 0.7143 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1555, allocations: 3.938 kB / 0.7143 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1555, allocations: 4 kB / 0.7143 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1557, allocations: 23.98 kB / 0.7143 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1557, allocations: 4 kB / 0.7143 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1558, allocations: 19.88 kB / 0.7144 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1558, allocations: 16 kB / 0.7144 GB, free: 9.469 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.0002071/0.156, allocations: 199.5 kB / 0.7146 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1561, allocations: 23.86 kB / 0.7146 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.1561, allocations: 25.83 kB / 0.7146 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1561, allocations: 4 kB / 0.7146 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1561, allocations: 0 / 0.7146 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1561, allocations: 0 / 0.7146 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.1564, allocations: 297.3 kB / 0.7149 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1564, allocations: 0 / 0.7149 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1565, allocations: 23.98 kB / 0.7149 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1565, allocations: 0 / 0.7149 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1566, allocations: 4 kB / 0.7149 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1566, allocations: 96 / 0.7149 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1566, allocations: 7.922 kB / 0.7149 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.1573, allocations: 473.1 kB / 0.7154 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1574, allocations: 105 kB / 0.7155 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.1574, allocations: 11.98 kB / 0.7155 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1575, allocations: 8 kB / 0.7155 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.1576, allocations: 23.95 kB / 0.7155 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1576, allocations: 8 kB / 0.7155 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002002/0.1578, allocations: 201.9 kB / 0.7157 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1578, allocations: 0 / 0.7157 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002872/0.1581, allocations: 63.83 kB / 0.7158 GB, free: 7.914 MB / 0.5294 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.0002074/0.1583, allocations: 143 kB / 0.7159 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.1588, allocations: 258.6 kB / 0.7162 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1588, allocations: 0 / 0.7162 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.1591, allocations: 151.4 kB / 0.7163 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1594, allocations: 40.72 kB / 0.7164 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1604, allocations: 0.4982 MB / 0.7168 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1608, allocations: 0.7475 MB / 0.7176 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1608, allocations: 23.44 kB / 0.7176 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1608, allocations: 0 / 0.7176 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.005594/0.1664, allocations: 3.026 MB / 0.7206 GB, free: 2.957 MB / 0.5294 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.47416561190039] Failed to read output from testmodel.py, exit status != 0: 0.17364168912172318 0.18807610900000002 0.036652565000000005 Calling exit ...