Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001016/0.001016, 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.0009719/0.0009719, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9754/0.9754, allocations: 230.6 MB / 256 MB, free: 9.809 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.8102/0.8102, allocations: 203.8 MB / 0.5042 GB, free: 10.26 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.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001404/0.001404, allocations: 66.27 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5011, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002537/0.5036, allocations: 1.711 MB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.5056, allocations: 1.387 MB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.5056, allocations: 0 / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.5059, allocations: 31.55 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.5062, allocations: 103.7 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.5064, allocations: 137.6 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.5067, allocations: 252.6 kB / 0.8214 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5068, allocations: 12.44 kB / 0.8214 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.5069, allocations: 92.28 kB / 0.8215 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.5071, allocations: 100.8 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.5071, allocations: 22.22 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.5073, allocations: 120.2 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.5074, allocations: 81.09 kB / 0.8218 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.5075, allocations: 111.4 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.508, allocations: 332.8 kB / 0.8222 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.508, allocations: 0.7969 kB / 0.8222 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.508, allocations: 4 kB / 0.8222 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.508, allocations: 0 / 0.8222 GB, free: 14.48 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006608/0.5087, allocations: 499.7 kB / 0.8227 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5087, allocations: 11.12 kB / 0.8227 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.5088, allocations: 47.45 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.5088, allocations: 31.47 kB / 0.8228 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.5091, allocations: 214.2 kB / 0.823 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5091, allocations: 10.94 kB / 0.823 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.5091, allocations: 18.48 kB / 0.823 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.5094, allocations: 221.3 kB / 0.8232 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5094, allocations: 1.031 kB / 0.8232 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5094, allocations: 5.562 kB / 0.8232 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5094, allocations: 4 kB / 0.8232 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.5101, allocations: 0.7432 MB / 0.824 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.5108, allocations: 0.5476 MB / 0.8245 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.5112, allocations: 276.5 kB / 0.8248 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5113, allocations: 97.12 kB / 0.8249 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.5113, allocations: 17.64 kB / 0.8249 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.5116, allocations: 177.4 kB / 0.8251 GB, free: 13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.5116, allocations: 4 kB / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0005131/0.5121, allocations: 373 kB / 0.8254 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.5122, allocations: 136 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5124, allocations: 319.4 kB / 0.8258 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5124, allocations: 30.92 kB / 0.8259 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.5125, allocations: 133 kB / 0.826 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.5125, allocations: 116.6 kB / 0.8261 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.5126, allocations: 64.25 kB / 0.8262 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.5127, allocations: 341.1 kB / 0.8265 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5128, allocations: 80.14 kB / 0.8266 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.513, allocations: 125.6 kB / 0.8267 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.5132, allocations: 215.3 kB / 0.8269 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5132, allocations: 3.938 kB / 0.8269 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003186/0.5135, allocations: 281.6 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5135, allocations: 5.281 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5135, allocations: 2.344 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5135, allocations: 5.406 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.5137, allocations: 62.78 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5137, allocations: 1.094 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.5138, allocations: 39.61 kB / 0.8273 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.5138, allocations: 11.47 kB / 0.8273 GB, free: 11.58 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 (35): * Single equations (assignments): 35 * 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.0001249/0.5139, allocations: 162.5 kB / 0.8274 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.514, allocations: 24.08 kB / 0.8275 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.5145, allocations: 381.6 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5145, allocations: 4.734 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5145, allocations: 4 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5145, allocations: 6.469 kB / 0.8279 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.5148, allocations: 302.9 kB / 0.8281 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5148, allocations: 1.812 kB / 0.8281 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.5149, allocations: 60.5 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5149, allocations: 1.531 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.515, allocations: 10.5 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.515, allocations: 0.9375 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.515, allocations: 1.453 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5153, allocations: 332 kB / 0.8285 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.5154, allocations: 67.02 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.5154, allocations: 6.234 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.5155, allocations: 17.22 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.5156, allocations: 30.91 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.5156, allocations: 14.66 kB / 0.8287 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001615/0.5157, allocations: 238.2 kB / 0.8289 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5157, allocations: 1.094 kB / 0.8289 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002423/0.516, allocations: 74.53 kB / 0.829 GB, free: 10.67 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 (34): * Single equations (assignments): 33 * 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.001319/0.5173, allocations: 1.21 MB / 0.8301 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.5177, allocations: 220.7 kB / 0.8304 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5177, allocations: 0 / 0.8304 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.5179, allocations: 127 kB / 0.8305 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.5181, allocations: 39.48 kB / 0.8305 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.5204, allocations: 2.508 MB / 0.833 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.5206, allocations: 0.7558 MB / 0.8337 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.5208, allocations: 148.7 kB / 0.8338 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.521, allocations: 98.73 kB / 0.8339 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.521, allocations: 0 / 0.8339 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.5408, allocations: 6.261 MB / 0.84 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.657, allocations: 19.66 kB / 0.8401 GB, free: 5.246 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.81656526797451] Failed to read output from testmodel.py, exit status != 0: 7.791154389036819 7.802512223 7.292406368 Calling exit ...