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.001343/0.001343, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001669/0.001669, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.785 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.8104/0.8104, allocations: 134 MB / 446.4 MB, free: 9.934 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.001931/0.001931, allocations: 75.98 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1579, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00349/0.1613, allocations: 1.866 MB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.164, allocations: 1.769 MB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.164, allocations: 0 / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1643, allocations: 39.7 kB / 0.706 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.1646, allocations: 123.1 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.165, allocations: 170.8 kB / 0.7063 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1653, allocations: 281.4 kB / 0.7065 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1655, allocations: 25.62 kB / 0.7066 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1656, allocations: 103.7 kB / 0.7067 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1657, allocations: 102.1 kB / 0.7068 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.1658, allocations: 20 kB / 0.7068 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.166, allocations: 123.9 kB / 0.7069 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1661, allocations: 95.72 kB / 0.707 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1662, allocations: 103.4 kB / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.1667, allocations: 370.5 kB / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1667, allocations: 0 / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1667, allocations: 3.938 kB / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.1667, allocations: 0 / 0.7074 GB, free: 11.87 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.000756/0.1674, allocations: 0.5092 MB / 0.7079 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1675, allocations: 12.03 kB / 0.7079 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.1675, allocations: 46.73 kB / 0.708 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1677, allocations: 44.75 kB / 0.708 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.168, allocations: 221 kB / 0.7082 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.168, allocations: 16.36 kB / 0.7083 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.168, allocations: 19.88 kB / 0.7083 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.1685, allocations: 361.3 kB / 0.7086 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1685, allocations: 0 / 0.7086 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.1685, allocations: 11.98 kB / 0.7086 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1685, allocations: 4 kB / 0.7086 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008526/0.1694, allocations: 0.6904 MB / 0.7093 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1704, allocations: 0.5775 MB / 0.7099 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.1709, allocations: 286.5 kB / 0.7102 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.171, allocations: 101.4 kB / 0.7102 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.1711, allocations: 16.27 kB / 0.7103 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.1714, allocations: 239.9 kB / 0.7105 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.1714, allocations: 0 / 0.7105 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006767/0.1721, allocations: 381.1 kB / 0.7109 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.1722, allocations: 136.4 kB / 0.711 GB, free: 8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.1725, allocations: 329.1 kB / 0.7113 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1725, allocations: 29.7 kB / 0.7113 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.1726, allocations: 140.7 kB / 0.7115 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1727, allocations: 123 kB / 0.7116 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.1728, allocations: 65.69 kB / 0.7116 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.173, allocations: 338.8 kB / 0.712 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1731, allocations: 79.95 kB / 0.712 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1734, allocations: 201.7 kB / 0.7122 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1737, allocations: 213.1 kB / 0.7124 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1737, allocations: 0 / 0.7124 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004461/0.1741, allocations: 281.3 kB / 0.7127 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1742, allocations: 11.98 kB / 0.7127 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1742, allocations: 0 / 0.7127 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1742, allocations: 3.938 kB / 0.7127 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1744, allocations: 67.91 kB / 0.7128 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1744, allocations: 0 / 0.7128 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1745, allocations: 31.77 kB / 0.7128 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1746, allocations: 12 kB / 0.7128 GB, free: 6.043 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.0001626/0.1747, allocations: 161.8 kB / 0.713 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1748, allocations: 31.81 kB / 0.713 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.1755, allocations: 396.8 kB / 0.7134 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1755, allocations: 0 / 0.7134 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1755, allocations: 7.938 kB / 0.7134 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1755, allocations: 4 kB / 0.7134 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.1758, allocations: 276.5 kB / 0.7137 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1758, allocations: 0 / 0.7137 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1759, allocations: 59.91 kB / 0.7137 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.176, allocations: 4 kB / 0.7137 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.176, allocations: 19.86 kB / 0.7137 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.176, allocations: 0 / 0.7137 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.176, allocations: 7.984 kB / 0.7138 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.1765, allocations: 326 kB / 0.7141 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1766, allocations: 75.67 kB / 0.7141 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1767, allocations: 15.94 kB / 0.7142 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1768, allocations: 23.97 kB / 0.7142 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.1769, allocations: 23.95 kB / 0.7142 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.1769, allocations: 12 kB / 0.7142 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002287/0.1771, allocations: 244.4 kB / 0.7144 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1771, allocations: 0 / 0.7144 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003078/0.1774, allocations: 83.86 kB / 0.7145 GB, free: 4.223 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.002268/0.1797, allocations: 1.244 MB / 0.7157 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1801, allocations: 227.6 kB / 0.716 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1801, allocations: 0 / 0.716 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.1803, allocations: 120.7 kB / 0.7161 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1806, allocations: 44.42 kB / 0.7161 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.1836, allocations: 2.561 MB / 0.7186 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1837, allocations: 158.9 kB / 0.7188 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003186/0.1841, allocations: 142.9 kB / 0.7189 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1842, allocations: 103.4 kB / 0.719 GB, free: 15.73 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.1842, allocations: 7.938 kB / 0.719 GB, free: 15.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.221, allocations: 7.185 MB / 0.726 GB, free: 8.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 6.234 kB / 0.726 GB, free: 8.613 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 & 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: 14.836424441076815] Failed to read output from testmodel.py, exit status != 0: 11.435350325424224 11.450458568 11.280783877 Calling exit ...