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.001661/0.001661, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002208/0.002208, allocations: 217 kB / 22.25 MB, free: 5.082 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.012 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.8341/0.8341, allocations: 134 MB / 446.4 MB, free: 10.23 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.00196/0.00196, allocations: 66.75 kB / 0.6186 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 85.91 MB / 0.7025 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003376/0.1678, allocations: 1.935 MB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1704, allocations: 1.835 MB / 0.7061 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.1705, allocations: 4 kB / 0.7061 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1707, allocations: 35.7 kB / 0.7062 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1711, allocations: 119.3 kB / 0.7063 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1715, allocations: 174.2 kB / 0.7065 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.1718, allocations: 281.4 kB / 0.7067 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1719, allocations: 29.62 kB / 0.7068 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1721, allocations: 107.7 kB / 0.7069 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1723, allocations: 107.7 kB / 0.707 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1724, allocations: 20 kB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.1726, allocations: 131.9 kB / 0.7071 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1727, allocations: 95.67 kB / 0.7072 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1728, allocations: 123.3 kB / 0.7073 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.1733, allocations: 370.5 kB / 0.7077 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1733, allocations: 0 / 0.7077 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1733, allocations: 0 / 0.7077 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1733, allocations: 0 / 0.7077 GB, free: 12.04 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.0008177/0.1741, allocations: 0.5131 MB / 0.7082 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1741, allocations: 12.03 kB / 0.7082 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.1742, allocations: 54.73 kB / 0.7082 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1743, allocations: 40.67 kB / 0.7083 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1747, allocations: 217 kB / 0.7085 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1747, allocations: 16.36 kB / 0.7085 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1747, allocations: 19.94 kB / 0.7085 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.1751, allocations: 232.8 kB / 0.7087 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1751, allocations: 0 / 0.7087 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1751, allocations: 4 kB / 0.7087 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1751, allocations: 8 kB / 0.7087 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.1761, allocations: 0.7451 MB / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1772, allocations: 0.6048 MB / 0.7101 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.1777, allocations: 289.9 kB / 0.7103 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1778, allocations: 101.4 kB / 0.7104 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.1779, allocations: 20.23 kB / 0.7105 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.1783, allocations: 184.5 kB / 0.7106 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.1783, allocations: 4 kB / 0.7106 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006791/0.1789, allocations: 381.1 kB / 0.711 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.179, allocations: 136.4 kB / 0.7111 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.1794, allocations: 321.1 kB / 0.7114 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.1794, allocations: 37.7 kB / 0.7115 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.1795, allocations: 136.7 kB / 0.7116 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1796, allocations: 115 kB / 0.7117 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.1797, allocations: 65.69 kB / 0.7118 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1799, allocations: 342.8 kB / 0.7121 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.18, allocations: 83.89 kB / 0.7122 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1802, allocations: 128.6 kB / 0.7123 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.1805, allocations: 221 kB / 0.7125 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1805, allocations: 4 kB / 0.7125 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004785/0.181, allocations: 281.3 kB / 0.7128 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.181, allocations: 4 kB / 0.7128 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1811, allocations: 0 / 0.7128 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.1811, allocations: 11.94 kB / 0.7128 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1813, allocations: 63.89 kB / 0.7129 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1813, allocations: 0 / 0.7129 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1815, allocations: 31.78 kB / 0.7129 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1815, allocations: 15.98 kB / 0.7129 GB, free: 6.422 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.0002069/0.1817, allocations: 161.8 kB / 0.7131 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1818, allocations: 27.81 kB / 0.7131 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.1825, allocations: 392.8 kB / 0.7135 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1825, allocations: 0 / 0.7135 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1825, allocations: 4 kB / 0.7135 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1825, allocations: 7.984 kB / 0.7135 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1829, allocations: 316.4 kB / 0.7138 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1829, allocations: 0 / 0.7138 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1831, allocations: 59.91 kB / 0.7138 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1831, allocations: 4 kB / 0.7138 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1831, allocations: 11.94 kB / 0.7138 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1831, allocations: 0 / 0.7138 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.1831, allocations: 3.984 kB / 0.7139 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.1837, allocations: 330 kB / 0.7142 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1838, allocations: 71.69 kB / 0.7142 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1838, allocations: 11.92 kB / 0.7142 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.184, allocations: 27.98 kB / 0.7143 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1841, allocations: 23.95 kB / 0.7143 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.1841, allocations: 15.98 kB / 0.7143 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002363/0.1843, allocations: 248.4 kB / 0.7145 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1843, allocations: 0 / 0.7145 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003274/0.1847, allocations: 79.86 kB / 0.7146 GB, free: 4.582 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.002248/0.1869, allocations: 1.217 MB / 0.7158 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1873, allocations: 223.6 kB / 0.716 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1873, allocations: 0 / 0.716 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1875, allocations: 120.8 kB / 0.7161 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1878, allocations: 48.12 kB / 0.7162 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.1909, allocations: 2.568 MB / 0.7187 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1913, allocations: 0.7653 MB / 0.7194 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000349/0.1917, allocations: 146.8 kB / 0.7196 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1918, allocations: 103.4 kB / 0.7197 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1918, allocations: 0 / 0.7197 GB, free: 15.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.2289, allocations: 6.793 MB / 0.7263 GB, free: 8.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 11.56 kB / 0.7263 GB, free: 8.742 MB / 0.545 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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: 15.11379493399727] Failed to read output from testmodel.py, exit status != 0: 11.566710350998619 11.592909257 11.414179165 Calling exit ...