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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 90] [/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.9051/0.9051, allocations: 145.2 MB / 450.2 MB, free: 13.23 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.84 kB / 0.6236 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 86.65 MB / 0.7082 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003404/0.1663, allocations: 1.965 MB / 0.7101 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1675, allocations: 0.7168 MB / 0.7108 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1676, allocations: 3.938 kB / 0.7108 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1679, allocations: 91.62 kB / 0.7109 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.168, allocations: 87.62 kB / 0.711 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.1686, allocations: 182.8 kB / 0.7112 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.169, allocations: 259.5 kB / 0.7114 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1691, allocations: 57.83 kB / 0.7115 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1693, allocations: 119.6 kB / 0.7116 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1695, allocations: 159.5 kB / 0.7117 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1695, allocations: 20 kB / 0.7117 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1697, allocations: 91.92 kB / 0.7118 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.1698, allocations: 55.78 kB / 0.7119 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1699, allocations: 111.3 kB / 0.712 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.1703, allocations: 314.7 kB / 0.7123 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1703, allocations: 0 / 0.7123 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.416e-06/0.1703, allocations: 8 kB / 0.7123 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.1703, allocations: 0 / 0.7123 GB, free: 13.72 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.0009113/0.1712, allocations: 0.5894 MB / 0.7129 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1712, allocations: 8.031 kB / 0.7129 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.1713, allocations: 32.75 kB / 0.7129 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.1719, allocations: 311 kB / 0.7132 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1719, allocations: 16.38 kB / 0.7132 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1719, allocations: 12.38 kB / 0.7132 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.1723, allocations: 227.8 kB / 0.7134 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1723, allocations: 0 / 0.7134 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1724, allocations: 4 kB / 0.7135 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1724, allocations: 4 kB / 0.7135 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.1726, allocations: 128.4 kB / 0.7136 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1735, allocations: 0.6809 MB / 0.7142 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1739, allocations: 166.6 kB / 0.7144 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1741, allocations: 84.86 kB / 0.7145 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1741, allocations: 8 kB / 0.7145 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.1744, allocations: 169 kB / 0.7147 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1744, allocations: 0 / 0.7147 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006932/0.1751, allocations: 378.9 kB / 0.715 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.1751, allocations: 132.5 kB / 0.7151 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1755, allocations: 290.7 kB / 0.7154 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1755, allocations: 29.7 kB / 0.7154 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1756, allocations: 156.3 kB / 0.7156 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.1756, allocations: 39.69 kB / 0.7156 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.1757, allocations: 37.7 kB / 0.7157 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1759, allocations: 338.8 kB / 0.716 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1761, allocations: 91.89 kB / 0.7161 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1762, allocations: 133.8 kB / 0.7162 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.1766, allocations: 244.2 kB / 0.7164 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1766, allocations: 0 / 0.7164 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000518/0.1771, allocations: 342.8 kB / 0.7168 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.1772, allocations: 37.69 kB / 0.7168 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1772, allocations: 0 / 0.7168 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1772, allocations: 4 kB / 0.7168 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1773, allocations: 23.98 kB / 0.7168 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1773, allocations: 4 kB / 0.7168 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1775, allocations: 23.97 kB / 0.7169 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1775, allocations: 8 kB / 0.7169 GB, free: 8.703 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.0001834/0.1777, allocations: 195.4 kB / 0.7171 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1777, allocations: 27.86 kB / 0.7171 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.1778, allocations: 25.83 kB / 0.7171 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1778, allocations: 0 / 0.7171 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1778, allocations: 0 / 0.7171 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1778, allocations: 11.98 kB / 0.7171 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1781, allocations: 297.3 kB / 0.7174 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1781, allocations: 0 / 0.7174 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1782, allocations: 19.98 kB / 0.7174 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1782, allocations: 0 / 0.7174 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1782, allocations: 4 kB / 0.7174 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1782, allocations: 0 / 0.7174 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1782, allocations: 0 / 0.7174 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.1789, allocations: 472.9 kB / 0.7179 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.179, allocations: 100.9 kB / 0.718 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.179, allocations: 8 kB / 0.718 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1791, allocations: 11.98 kB / 0.718 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.1792, allocations: 27.95 kB / 0.718 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1792, allocations: 8 kB / 0.718 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001965/0.1794, allocations: 202 kB / 0.7182 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1794, allocations: 4.062 kB / 0.7182 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002701/0.1797, allocations: 64.06 kB / 0.7183 GB, free: 7.148 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.0002023/0.1799, allocations: 139 kB / 0.7184 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.1804, allocations: 263.2 kB / 0.7187 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1804, allocations: 0 / 0.7187 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1806, allocations: 159.5 kB / 0.7188 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1809, allocations: 38.56 kB / 0.7188 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1819, allocations: 0.4984 MB / 0.7193 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1823, allocations: 0.7514 MB / 0.7201 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.1824, allocations: 23.44 kB / 0.7201 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1824, allocations: 0 / 0.7201 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of Templates: time 0.005476/0.1878, allocations: 3.027 MB / 0.723 GB, free: 2.18 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]