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.0007604/0.0007604, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001237/0.001237, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.438 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.7993/0.7993, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.0009263/0.0009263, allocations: 69.28 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4873, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002185/0.4895, allocations: 1.67 MB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.4909, allocations: 1.354 MB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.4909, allocations: 0 / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.4911, allocations: 36.09 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.4914, allocations: 105.7 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.4917, allocations: 142.6 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.4919, allocations: 242.7 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.492, allocations: 17.62 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.4921, allocations: 87.95 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4922, allocations: 85.64 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4922, allocations: 16.44 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4924, allocations: 112.3 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.4925, allocations: 85.09 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.4925, allocations: 87.8 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.4929, allocations: 339.2 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4929, allocations: 4 kB / 0.8221 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4929, allocations: 0 / 0.8221 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4929, allocations: 3.781 kB / 0.8221 GB, free: 14.37 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.0005811/0.4934, allocations: 493.8 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4935, allocations: 11.48 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.4935, allocations: 56.67 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4936, allocations: 29.72 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4938, allocations: 213.7 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4938, allocations: 13.11 kB / 0.8228 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.4938, allocations: 14.41 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.4941, allocations: 298.4 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4941, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4941, allocations: 6.5 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4941, allocations: 4.188 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.4948, allocations: 0.6869 MB / 0.8238 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.4956, allocations: 0.5204 MB / 0.8243 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.496, allocations: 276.4 kB / 0.8246 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4961, allocations: 93.31 kB / 0.8247 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.4961, allocations: 17.44 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.4964, allocations: 183.3 kB / 0.8249 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.293e-06/0.4964, allocations: 0 / 0.8249 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0005013/0.4969, allocations: 371.9 kB / 0.8252 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4969, allocations: 133 kB / 0.8254 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.4972, allocations: 314.3 kB / 0.8257 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4972, allocations: 36.58 kB / 0.8257 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.4973, allocations: 131.2 kB / 0.8258 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.4973, allocations: 107.3 kB / 0.8259 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.4974, allocations: 70.16 kB / 0.826 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.4975, allocations: 338.2 kB / 0.8263 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4976, allocations: 81 kB / 0.8264 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4977, allocations: 211.1 kB / 0.8266 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.498, allocations: 216.2 kB / 0.8268 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.498, allocations: 0 / 0.8268 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000309/0.4983, allocations: 281.1 kB / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4983, allocations: 6.281 kB / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4983, allocations: 0 / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4983, allocations: 1.25 kB / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.4985, allocations: 60.41 kB / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4985, allocations: 5.844 kB / 0.8271 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.4986, allocations: 39.8 kB / 0.8272 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4986, allocations: 13.58 kB / 0.8272 GB, free: 11.3 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.0001097/0.4987, allocations: 162.3 kB / 0.8273 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4987, allocations: 25.2 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.4992, allocations: 378.9 kB / 0.8277 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4992, allocations: 3.5 kB / 0.8277 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4992, allocations: 0.6094 kB / 0.8277 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4992, allocations: 10.94 kB / 0.8277 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.4994, allocations: 278.9 kB / 0.828 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4994, allocations: 0 / 0.828 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.4995, allocations: 57.55 kB / 0.8281 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.4995, allocations: 0.8438 kB / 0.8281 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4995, allocations: 18.86 kB / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4996, allocations: 5.984 kB / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4996, allocations: 0 / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4999, allocations: 326.3 kB / 0.8284 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.5, allocations: 66.16 kB / 0.8285 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.5, allocations: 6.812 kB / 0.8285 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.5001, allocations: 14.08 kB / 0.8285 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.5001, allocations: 29.77 kB / 0.8285 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.5001, allocations: 14.91 kB / 0.8285 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001786/0.5003, allocations: 238.5 kB / 0.8287 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5003, allocations: 0.5625 kB / 0.8287 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002628/0.5006, allocations: 79.72 kB / 0.8288 GB, free: 10.39 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.001332/0.5019, allocations: 1.24 MB / 0.83 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5022, allocations: 215.9 kB / 0.8302 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5022, allocations: 1.062 kB / 0.8302 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5024, allocations: 122.5 kB / 0.8304 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.5026, allocations: 43.55 kB / 0.8304 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5048, allocations: 2.507 MB / 0.8328 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.5049, allocations: 150.9 kB / 0.833 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000236/0.5052, allocations: 140.5 kB / 0.8331 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5053, allocations: 102.7 kB / 0.8332 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5053, allocations: 4 kB / 0.8332 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.5279, allocations: 6.585 MB / 0.8397 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.359, allocations: 11.62 kB / 0.8397 GB, free: 5.184 MB / 0.6198 GB " [Timeout remaining time 653] (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.396839729044586] Failed to read output from testmodel.py, exit status != 0: 7.493232558015734 7.508019455 7.012728581 Calling exit ...