Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008529/0.0008529, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009477/0.0009477, allocations: 221.7 kB / 22.26 MB, free: 3.688 MB / 13.93 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 0.9442/0.9442, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7789/0.7789, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_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.001015/0.001015, allocations: 74.8 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5226, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002397/0.525, allocations: 1.949 MB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.527, allocations: 1.86 MB / 0.8216 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.5271, allocations: 0 / 0.8216 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.5273, allocations: 35.55 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.5276, allocations: 114.6 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.528, allocations: 170.6 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.5283, allocations: 301.9 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.5284, allocations: 30.2 kB / 0.8222 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.5285, allocations: 101.5 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.5287, allocations: 110.6 kB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.5287, allocations: 21.69 kB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.5289, allocations: 133 kB / 0.8226 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.529, allocations: 95.48 kB / 0.8227 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.5291, allocations: 121.8 kB / 0.8228 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.5295, allocations: 379 kB / 0.8231 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5295, allocations: 3.938 kB / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5295, allocations: 0 / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5295, allocations: 7.938 kB / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000631/0.5301, allocations: 0.516 MB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5302, allocations: 10.5 kB / 0.8237 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.5302, allocations: 53.3 kB / 0.8237 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5303, allocations: 36.02 kB / 0.8237 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.5306, allocations: 224.3 kB / 0.824 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5306, allocations: 16.12 kB / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.5306, allocations: 23.75 kB / 0.824 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.5309, allocations: 240.4 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5309, allocations: 0.7031 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.531, allocations: 7.312 kB / 0.8242 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.531, allocations: 4.5 kB / 0.8242 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.5317, allocations: 0.7494 MB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.5326, allocations: 0.6143 MB / 0.8256 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.533, allocations: 284.9 kB / 0.8258 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.5331, allocations: 100.1 kB / 0.8259 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.5331, allocations: 23.17 kB / 0.826 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.5334, allocations: 181.2 kB / 0.8261 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.5334, allocations: 0 / 0.8261 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.0005334/0.534, allocations: 380.5 kB / 0.8265 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.534, allocations: 134.1 kB / 0.8266 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.5343, allocations: 320 kB / 0.8269 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5344, allocations: 35.08 kB / 0.827 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.5344, allocations: 143.4 kB / 0.8271 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.5345, allocations: 123.7 kB / 0.8272 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.5346, allocations: 70.28 kB / 0.8273 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5347, allocations: 338.5 kB / 0.8276 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5348, allocations: 84.56 kB / 0.8277 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.535, allocations: 132.1 kB / 0.8278 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.5352, allocations: 206 kB / 0.828 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5352, allocations: 0.6562 kB / 0.828 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003495/0.5356, allocations: 291.4 kB / 0.8283 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5356, allocations: 17.12 kB / 0.8283 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5356, allocations: 0 / 0.8283 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5356, allocations: 1.891 kB / 0.8283 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5358, allocations: 56.97 kB / 0.8284 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5358, allocations: 6.141 kB / 0.8284 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.5359, allocations: 28.59 kB / 0.8284 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5359, allocations: 13.89 kB / 0.8284 GB, free: 10.91 MB / 0.6198 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.0001257/0.536, allocations: 159.8 kB / 0.8286 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.5361, allocations: 28.77 kB / 0.8286 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.5366, allocations: 391.6 kB / 0.829 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5366, allocations: 7.562 kB / 0.829 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5366, allocations: 0.6562 kB / 0.829 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5366, allocations: 3.328 kB / 0.829 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.5368, allocations: 312.7 kB / 0.8293 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5368, allocations: 1.219 kB / 0.8293 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.537, allocations: 61.67 kB / 0.8293 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.537, allocations: 5.5 kB / 0.8293 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.537, allocations: 10.55 kB / 0.8293 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.537, allocations: 1.562 kB / 0.8293 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.537, allocations: 0.5625 kB / 0.8293 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.5376, allocations: 342.3 kB / 0.8297 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5377, allocations: 72.42 kB / 0.8297 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.5377, allocations: 10.67 kB / 0.8297 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.5378, allocations: 25.89 kB / 0.8298 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.5379, allocations: 23.16 kB / 0.8298 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.5379, allocations: 19.98 kB / 0.8298 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002498/0.5382, allocations: 247 kB / 0.83 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5382, allocations: 7.938 kB / 0.8301 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003066/0.5385, allocations: 85.94 kB / 0.8301 GB, free: 9.957 MB / 0.6198 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.001307/0.5398, allocations: 1.197 MB / 0.8313 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.5401, allocations: 221 kB / 0.8315 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5401, allocations: 1.062 kB / 0.8315 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.5403, allocations: 127.7 kB / 0.8316 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5405, allocations: 52.45 kB / 0.8317 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.543, allocations: 2.579 MB / 0.8342 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5433, allocations: 0.7638 MB / 0.835 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000257/0.5435, allocations: 147.1 kB / 0.8351 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5437, allocations: 109.2 kB / 0.8352 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/0.5437, allocations: 0 / 0.8352 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.5686, allocations: 6.819 MB / 0.8419 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.714, allocations: 16.56 kB / 0.8419 GB, free: 4.102 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.728450424969196] Failed to read output from testmodel.py, exit status != 0: 7.845073074102402 7.85651666 7.325019871 Calling exit ...