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.0007746/0.0007746, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008432/0.0008432, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7508/0.7508, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.441e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003174/0.003198, allocations: 1.665 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005026, allocations: 1.367 MB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.005113, allocations: 0 / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.005368, allocations: 31.72 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.005818, allocations: 115.3 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.006195, allocations: 138.2 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.006497, allocations: 253.4 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.006603, allocations: 15.98 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.006757, allocations: 115.8 kB / 0.6217 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.006932, allocations: 79.83 kB / 0.6217 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.006967, allocations: 16 kB / 0.6218 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.007179, allocations: 115.9 kB / 0.6219 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.007277, allocations: 83.73 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.007359, allocations: 71.75 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.007788, allocations: 350.8 kB / 0.6224 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007791, allocations: 0 / 0.6224 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007792, allocations: 3.938 kB / 0.6224 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.007798, allocations: 0 / 0.6224 GB, free: 9.273 MB / 0.5886 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.0007542/0.008552, allocations: 493.6 kB / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.008596, allocations: 13.47 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.008654, allocations: 50.73 kB / 0.6229 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.008726, allocations: 32.73 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.009021, allocations: 212.8 kB / 0.6231 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.009041, allocations: 12.38 kB / 0.6231 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.009065, allocations: 16.31 kB / 0.6232 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.009447, allocations: 296.6 kB / 0.6234 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.009458, allocations: 4.125 kB / 0.6234 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.009481, allocations: 7.938 kB / 0.6234 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.009489, allocations: 4 kB / 0.6235 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.01045, allocations: 0.6943 MB / 0.6241 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.01125, allocations: 0.4998 MB / 0.6246 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.01171, allocations: 284.2 kB / 0.6249 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.01186, allocations: 93.38 kB / 0.625 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.0119, allocations: 16.27 kB / 0.625 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.01222, allocations: 177.4 kB / 0.6252 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.01222, allocations: 0 / 0.6252 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0006264/0.01285, allocations: 373.8 kB / 0.6255 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.01292, allocations: 132.5 kB / 0.6256 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.0132, allocations: 317.7 kB / 0.6259 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.01323, allocations: 33.7 kB / 0.626 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.01331, allocations: 124.7 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.01339, allocations: 119 kB / 0.6262 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.01348, allocations: 69.67 kB / 0.6263 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.01359, allocations: 342.8 kB / 0.6266 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.01371, allocations: 79.95 kB / 0.6267 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.0139, allocations: 196.5 kB / 0.6269 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01422, allocations: 219.8 kB / 0.6271 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01422, allocations: 3.938 kB / 0.6271 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003909/0.01461, allocations: 281.2 kB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01463, allocations: 4 kB / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01463, allocations: 0 / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01465, allocations: 4 kB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.01485, allocations: 55.91 kB / 0.6274 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01486, allocations: 4 kB / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01497, allocations: 31.83 kB / 0.6274 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01498, allocations: 11.98 kB / 0.6275 GB, free: 3.777 MB / 0.5886 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.0001063/0.01509, allocations: 170.6 kB / 0.6276 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.01512, allocations: 27.89 kB / 0.6276 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.01555, allocations: 380.9 kB / 0.628 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01556, allocations: 8 kB / 0.628 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01556, allocations: 0 / 0.628 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01557, allocations: 7.984 kB / 0.628 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.01578, allocations: 276.4 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01578, allocations: 0 / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01588, allocations: 55.91 kB / 0.6283 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01588, allocations: 3.938 kB / 0.6283 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.0159, allocations: 15.98 kB / 0.6284 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.0159, allocations: 4 kB / 0.6284 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0159, allocations: 0 / 0.6284 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.01621, allocations: 331.3 kB / 0.6287 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.01629, allocations: 67.73 kB / 0.6287 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01632, allocations: 8 kB / 0.6288 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.01639, allocations: 15.98 kB / 0.6288 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.01643, allocations: 23.95 kB / 0.6288 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01645, allocations: 8 kB / 0.6288 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001384/0.01658, allocations: 245.2 kB / 0.629 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01658, allocations: 0 / 0.629 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002312/0.01682, allocations: 75.86 kB / 0.6291 GB, free: 2.016 MB / 0.5886 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.001178/0.01799, allocations: 1.236 MB / 0.6303 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.01828, allocations: 219.8 kB / 0.6305 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01829, allocations: 4 kB / 0.6305 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.01856, allocations: 116.4 kB / 0.6306 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01876, allocations: 36.48 kB / 0.6307 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.02078, allocations: 2.526 MB / 0.6331 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.02087, allocations: 146.9 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.02106, allocations: 146.9 kB / 0.6334 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02117, allocations: 108.4 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.02117, allocations: 0 / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.04047, allocations: 6.733 MB / 0.6401 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.396, allocations: 15 kB / 0.6401 GB, free: 6.941 MB / 0.6042 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.338210803456604] Failed to read output from testmodel.py, exit status != 0: 7.537555109709501 7.546458288 7.536742333 Calling exit ...