Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.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.001106/0.001106, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008483/0.0008483, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8991/0.8991, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7196/0.7196, allocations: 154.7 MB / 413.9 MB, free: 0.7305 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",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.0009358/0.0009358, allocations: 62.34 kB / 0.6183 GB, free: 13.6 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4596, allocations: 102 MB / 0.7179 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002332/0.4619, allocations: 1.501 MB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4636, allocations: 1.193 MB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.4637, allocations: 4.781 kB / 0.7205 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.464, allocations: 29.55 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.4642, allocations: 40.48 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.4643, allocations: 55.3 kB / 0.7206 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.4645, allocations: 147.1 kB / 0.7208 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.4647, allocations: 47.2 kB / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4648, allocations: 108.3 kB / 0.7209 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.465, allocations: 50.56 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.465, allocations: 11.44 kB / 0.721 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.4651, allocations: 28.97 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.4652, allocations: 58.31 kB / 0.721 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.4652, allocations: 65.89 kB / 0.7211 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.4656, allocations: 222.6 kB / 0.7213 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4656, allocations: 6.281 kB / 0.7213 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4656, allocations: 0 / 0.7213 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4656, allocations: 0 / 0.7213 GB, free: 21.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006929/0.4663, allocations: 420.9 kB / 0.7217 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.4663, allocations: 10.31 kB / 0.7217 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.4664, allocations: 39.62 kB / 0.7218 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.4665, allocations: 25.33 kB / 0.7218 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.4668, allocations: 207 kB / 0.722 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.4669, allocations: 220.3 kB / 0.7222 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4669, allocations: 4.656 kB / 0.7222 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.4673, allocations: 263.8 kB / 0.7225 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.4673, allocations: 4.547 kB / 0.7225 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4673, allocations: 1.031 kB / 0.7225 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.4673, allocations: 9.109 kB / 0.7225 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.4674, allocations: 47.59 kB / 0.7225 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.4682, allocations: 404.3 kB / 0.7229 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.4683, allocations: 35.88 kB / 0.7229 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.4683, allocations: 24.69 kB / 0.723 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4684, allocations: 4.719 kB / 0.723 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4684, allocations: 33.09 kB / 0.723 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4684, allocations: 4 kB / 0.723 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002616/0.4687, allocations: 103.7 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4687, allocations: 60.38 kB / 0.7232 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.4689, allocations: 218.4 kB / 0.7234 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4689, allocations: 26.8 kB / 0.7234 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.469, allocations: 130 kB / 0.7235 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.469, allocations: 30.08 kB / 0.7235 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.469, allocations: 30.44 kB / 0.7236 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.4691, allocations: 325.5 kB / 0.7239 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.4692, allocations: 27.58 kB / 0.7239 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.4692, allocations: 100.3 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4694, allocations: 147.7 kB / 0.7241 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4694, allocations: 5.094 kB / 0.7242 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002056/0.4696, allocations: 151.3 kB / 0.7243 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4696, allocations: 6.406 kB / 0.7243 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4696, allocations: 2.594 kB / 0.7243 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4696, allocations: 8.484 kB / 0.7243 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4697, allocations: 30.55 kB / 0.7243 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4697, allocations: 11.41 kB / 0.7244 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.4698, allocations: 12.05 kB / 0.7244 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4698, allocations: 8 kB / 0.7244 GB, free: 18.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001006/0.4699, allocations: 141.8 kB / 0.7245 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4699, allocations: 16.34 kB / 0.7245 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.4701, allocations: 114.5 kB / 0.7246 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4701, allocations: 0.9375 kB / 0.7246 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4701, allocations: 7.938 kB / 0.7246 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4702, allocations: 4.703 kB / 0.7246 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.4703, allocations: 186.6 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4703, allocations: 0 / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.4704, allocations: 13.39 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4704, allocations: 2.141 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4704, allocations: 1.062 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4704, allocations: 1.031 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4704, allocations: 4.594 kB / 0.7248 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.4706, allocations: 197.5 kB / 0.725 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4706, allocations: 13.8 kB / 0.725 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.4706, allocations: 1.219 kB / 0.725 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4707, allocations: 25.02 kB / 0.7251 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.4708, allocations: 10.25 kB / 0.7251 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.4708, allocations: 10.92 kB / 0.7251 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00012/0.4709, allocations: 164.4 kB / 0.7253 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4709, allocations: 0 / 0.7253 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002197/0.4711, allocations: 32.38 kB / 0.7253 GB, free: 17.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000431/0.4715, allocations: 0.7504 MB / 0.726 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4717, allocations: 69.06 kB / 0.7261 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4717, allocations: 0 / 0.7261 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.4718, allocations: 26.77 kB / 0.7261 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.472, allocations: 23.61 kB / 0.7261 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4736, allocations: 1.919 MB / 0.728 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4737, allocations: 118.8 kB / 0.7281 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.4739, allocations: 49.94 kB / 0.7282 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.4739, allocations: 55.73 kB / 0.7282 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.4739, allocations: 0 / 0.7282 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.4976, allocations: 5.009 MB / 0.7331 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.263, allocations: 6.516 kB / 0.7331 GB, free: 14.28 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.100868188077584] Failed to read output from testmodel.py, exit status != 0: 7.340186137938872 7.349573741 6.882085787 Calling exit ...