Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.00131/0.00131, 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.001634/0.001634, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8205/0.8205, allocations: 134 MB / 446.4 MB, free: 10.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001882/0.001882, allocations: 61.09 kB / 0.6186 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 85.91 MB / 0.7025 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003386/0.1581, allocations: 1.92 MB / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.1608, allocations: 1.843 MB / 0.7061 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.1608, allocations: 0 / 0.7061 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1611, allocations: 31.78 kB / 0.7062 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1615, allocations: 122.4 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.1619, allocations: 177.8 kB / 0.7064 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.1623, allocations: 293.3 kB / 0.7067 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1624, allocations: 25.56 kB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1625, allocations: 95.83 kB / 0.7068 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1627, allocations: 115.6 kB / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1628, allocations: 20 kB / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.163, allocations: 135.9 kB / 0.7071 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1631, allocations: 91.73 kB / 0.7072 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1632, allocations: 131.1 kB / 0.7073 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.1637, allocations: 370.5 kB / 0.7077 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1637, allocations: 0 / 0.7077 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1637, allocations: 0 / 0.7077 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1637, allocations: 0 / 0.7077 GB, free: 11.99 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007611/0.1644, allocations: 0.5092 MB / 0.7082 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1645, allocations: 8.031 kB / 0.7082 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.1645, allocations: 54.73 kB / 0.7082 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1647, allocations: 36.73 kB / 0.7083 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.165, allocations: 225 kB / 0.7085 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.165, allocations: 16.38 kB / 0.7085 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.165, allocations: 23.88 kB / 0.7085 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.1654, allocations: 228.8 kB / 0.7087 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1654, allocations: 4 kB / 0.7087 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1655, allocations: 4 kB / 0.7087 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1655, allocations: 4 kB / 0.7087 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.1664, allocations: 0.7451 MB / 0.7095 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1674, allocations: 0.6087 MB / 0.7101 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.1679, allocations: 289.9 kB / 0.7103 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1681, allocations: 101.4 kB / 0.7104 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.1681, allocations: 20.25 kB / 0.7105 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.1685, allocations: 188.5 kB / 0.7106 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.1685, allocations: 0 / 0.7106 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006643/0.1691, allocations: 373.1 kB / 0.711 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.1692, allocations: 144.4 kB / 0.7111 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.1695, allocations: 317.1 kB / 0.7114 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1696, allocations: 37.7 kB / 0.7115 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.1697, allocations: 136.7 kB / 0.7116 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1698, allocations: 123 kB / 0.7117 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.1699, allocations: 69.62 kB / 0.7118 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.17, allocations: 338.8 kB / 0.7121 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1702, allocations: 79.95 kB / 0.7122 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1704, allocations: 128.5 kB / 0.7123 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.1707, allocations: 213.1 kB / 0.7125 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1707, allocations: 4 kB / 0.7125 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004489/0.1711, allocations: 285.2 kB / 0.7128 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1712, allocations: 4 kB / 0.7128 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1712, allocations: 0 / 0.7128 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1712, allocations: 3.938 kB / 0.7128 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1714, allocations: 63.91 kB / 0.7129 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1714, allocations: 0 / 0.7129 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1716, allocations: 41.81 kB / 0.7129 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1716, allocations: 8 kB / 0.7129 GB, free: 6.387 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0001637/0.1717, allocations: 165.8 kB / 0.7131 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.1718, allocations: 35.8 kB / 0.7131 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.1725, allocations: 392.8 kB / 0.7135 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1725, allocations: 4 kB / 0.7135 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1725, allocations: 0 / 0.7135 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1725, allocations: 0 / 0.7135 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1728, allocations: 316.4 kB / 0.7138 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1729, allocations: 4 kB / 0.7138 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.173, allocations: 55.91 kB / 0.7138 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.173, allocations: 0 / 0.7138 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.1731, allocations: 19.97 kB / 0.7139 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1731, allocations: 0 / 0.7139 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1731, allocations: 7.984 kB / 0.7139 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.1735, allocations: 326 kB / 0.7142 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.1737, allocations: 71.67 kB / 0.7142 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.1737, allocations: 11.94 kB / 0.7142 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1739, allocations: 23.98 kB / 0.7143 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.174, allocations: 23.94 kB / 0.7143 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.174, allocations: 16 kB / 0.7143 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002292/0.1742, allocations: 248.4 kB / 0.7145 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 0 / 0.7145 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003155/0.1745, allocations: 87.8 kB / 0.7146 GB, free: 4.535 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002187/0.1767, allocations: 1.21 MB / 0.7158 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1771, allocations: 223.6 kB / 0.716 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1771, allocations: 0 / 0.716 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.1773, allocations: 124.7 kB / 0.7161 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1776, allocations: 40.42 kB / 0.7162 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.1807, allocations: 2.568 MB / 0.7187 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1811, allocations: 0.7691 MB / 0.7194 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.1814, allocations: 142.9 kB / 0.7196 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.1816, allocations: 103.4 kB / 0.7197 GB, free: 15.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1816, allocations: 0 / 0.7197 GB, free: 15.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.219, allocations: 6.807 MB / 0.7263 GB, free: 8.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 3.5 kB / 0.7263 GB, free: 8.699 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.656606510048732] Failed to read output from testmodel.py, exit status != 0: 11.353813898051158 11.371140539 11.204297301 Calling exit ...