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.001476/0.001476, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001577/0.001577, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.977 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.8929/0.8929, allocations: 145 MB / 457.4 MB, free: 15.65 MB / 366.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [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.001955/0.001955, allocations: 62.44 kB / 0.6332 GB, free: 7.414 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 87.89 MB / 0.719 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003061/0.1616, allocations: 1.99 MB / 0.7209 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1628, allocations: 0.7564 MB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.774e-05/0.1629, allocations: 7.938 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1632, allocations: 79.64 kB / 0.7218 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1633, allocations: 95.55 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.1639, allocations: 191.6 kB / 0.722 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1642, allocations: 251.5 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1643, allocations: 49.94 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1645, allocations: 123.6 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1647, allocations: 159.5 kB / 0.7226 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.1647, allocations: 20 kB / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1649, allocations: 99.86 kB / 0.7227 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.1649, allocations: 63.77 kB / 0.7228 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.165, allocations: 103.4 kB / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1654, allocations: 318.6 kB / 0.7232 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1654, allocations: 7.984 kB / 0.7232 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1654, allocations: 0 / 0.7232 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1654, allocations: 0 / 0.7232 GB, free: 11.22 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.0007864/0.1662, allocations: 0.5064 MB / 0.7237 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1662, allocations: 16.03 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1663, allocations: 46.73 kB / 0.7237 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1663, allocations: 32.75 kB / 0.7238 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1668, allocations: 237.2 kB / 0.724 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1668, allocations: 16.38 kB / 0.724 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.1668, allocations: 16.38 kB / 0.724 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.1672, allocations: 224.4 kB / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1672, allocations: 0 / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1672, allocations: 8 kB / 0.7242 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1672, allocations: 8 kB / 0.7242 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.1675, allocations: 132.3 kB / 0.7244 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.1683, allocations: 0.6526 MB / 0.725 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1687, allocations: 158.4 kB / 0.7252 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1688, allocations: 91.7 kB / 0.7252 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1688, allocations: 4 kB / 0.7252 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1691, allocations: 168 kB / 0.7254 GB, free: 8.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1691, allocations: 0 / 0.7254 GB, free: 8.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006469/0.1698, allocations: 383 kB / 0.7258 GB, free: 8.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1699, allocations: 136.5 kB / 0.7259 GB, free: 8.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1701, allocations: 282 kB / 0.7262 GB, free: 7.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1702, allocations: 33.64 kB / 0.7262 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1703, allocations: 156.3 kB / 0.7264 GB, free: 7.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.1703, allocations: 47.62 kB / 0.7264 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.1704, allocations: 37.7 kB / 0.7264 GB, free: 7.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1705, allocations: 346.8 kB / 0.7268 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1707, allocations: 87.95 kB / 0.7268 GB, free: 7.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1709, allocations: 125.1 kB / 0.727 GB, free: 7.074 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1712, allocations: 241 kB / 0.7272 GB, free: 6.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1712, allocations: 0 / 0.7272 GB, free: 6.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004853/0.1717, allocations: 341 kB / 0.7275 GB, free: 6.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.1717, allocations: 37.69 kB / 0.7276 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1718, allocations: 4.094 kB / 0.7276 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1718, allocations: 4 kB / 0.7276 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1719, allocations: 23.98 kB / 0.7276 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1719, allocations: 4 kB / 0.7276 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.172, allocations: 19.88 kB / 0.7276 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.172, allocations: 11.94 kB / 0.7276 GB, free: 6.363 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.0001762/0.1722, allocations: 193.7 kB / 0.7278 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1723, allocations: 39.8 kB / 0.7278 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.1723, allocations: 21.78 kB / 0.7279 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1723, allocations: 0 / 0.7279 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1723, allocations: 4 kB / 0.7279 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1723, allocations: 3.984 kB / 0.7279 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1726, allocations: 264.4 kB / 0.7281 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1726, allocations: 0 / 0.7281 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1727, allocations: 19.98 kB / 0.7281 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1727, allocations: 0 / 0.7281 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.1727, allocations: 11.92 kB / 0.7282 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1727, allocations: 4 kB / 0.7282 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1727, allocations: 0 / 0.7282 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.1734, allocations: 462.4 kB / 0.7286 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1734, allocations: 27.83 kB / 0.7286 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.1734, allocations: 15.98 kB / 0.7286 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.1735, allocations: 12.05 kB / 0.7287 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.1736, allocations: 27.95 kB / 0.7287 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1736, allocations: 4 kB / 0.7287 GB, free: 5.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001851/0.1738, allocations: 205.1 kB / 0.7289 GB, free: 4.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1738, allocations: 0 / 0.7289 GB, free: 4.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002599/0.1741, allocations: 59.88 kB / 0.7289 GB, free: 4.93 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.00108/0.1752, allocations: 1.026 MB / 0.7299 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.1756, allocations: 259.2 kB / 0.7302 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1756, allocations: 0 / 0.7302 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1758, allocations: 159.6 kB / 0.7303 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1761, allocations: 28.48 kB / 0.7304 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.1794, allocations: 2.748 MB / 0.733 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1798, allocations: 0.7593 MB / 0.7338 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.087e-05/0.1798, allocations: 13.48 kB / 0.7338 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1799, allocations: 75.41 kB / 0.7339 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1799, allocations: 3.938 kB / 0.7339 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.213, allocations: 5.61 MB / 0.7394 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.01, allocations: 7.281 kB / 0.7394 GB, free: 10.22 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.682916081044823] Failed to read output from testmodel.py, exit status != 0: 11.1166176260449 11.390055317 11.221547225 Calling exit ...