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.001067/0.001067, 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.001313/0.001313, allocations: 170.3 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.8829/0.8829, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7258/0.7258, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.485e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001851/0.001866, allocations: 1.506 MB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003162, allocations: 1.206 MB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.003224, allocations: 7.938 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.003422, allocations: 27.73 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.003625, allocations: 39.78 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003767, allocations: 51.86 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.003937, allocations: 155.5 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.004093, allocations: 41.22 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.004186, allocations: 103.7 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.004303, allocations: 47.88 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.004331, allocations: 12 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.004395, allocations: 31.94 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.004466, allocations: 51.81 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.004516, allocations: 47.83 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.00474, allocations: 211.4 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.004743, allocations: 4 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004744, allocations: 0 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.004749, allocations: 0 / 0.6215 GB, free: 10.12 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005552/0.005305, allocations: 425.3 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005344, allocations: 12.02 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.005384, allocations: 42.75 kB / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.00544, allocations: 16.84 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.00566, allocations: 201.3 kB / 0.6222 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.005775, allocations: 226.2 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.005786, allocations: 4.375 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.006033, allocations: 260.9 kB / 0.6227 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006041, allocations: 192 / 0.6227 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.006056, allocations: 3.938 kB / 0.6227 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.006075, allocations: 12 kB / 0.6227 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.011e-05/0.006135, allocations: 47.91 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.006749, allocations: 399.6 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.006804, allocations: 30.52 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.006835, allocations: 28.84 kB / 0.6232 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.006856, allocations: 4 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.006876, allocations: 34.72 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.006877, allocations: 0 / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002064/0.007084, allocations: 113.5 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.007112, allocations: 55.41 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.007259, allocations: 212.8 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.007277, allocations: 29.7 kB / 0.6236 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.007339, allocations: 128.1 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.007358, allocations: 27.75 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.007397, allocations: 25.7 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.007483, allocations: 338.7 kB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.007518, allocations: 27.98 kB / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.007594, allocations: 105.3 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.00771, allocations: 142.1 kB / 0.6243 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.007713, allocations: 4 kB / 0.6243 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001606/0.007873, allocations: 149.3 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.007886, allocations: 4.375 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007892, allocations: 11.98 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007905, allocations: 4 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.007975, allocations: 20 kB / 0.6245 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.007984, allocations: 11.92 kB / 0.6245 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.008022, allocations: 7.953 kB / 0.6245 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.008034, allocations: 15.94 kB / 0.6246 GB, free: 6.668 MB / 0.5886 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 8.373e-05/0.008118, allocations: 145.8 kB / 0.6247 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.008147, allocations: 15.89 kB / 0.6247 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.008286, allocations: 119.3 kB / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008289, allocations: 0 / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008293, allocations: 4 kB / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008297, allocations: 3.984 kB / 0.6248 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.008452, allocations: 188.6 kB / 0.625 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008453, allocations: 0 / 0.625 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.008479, allocations: 12 kB / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008482, allocations: 4 kB / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.00849, allocations: 0 / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008491, allocations: 0 / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008492, allocations: 0 / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008631, allocations: 203.4 kB / 0.6252 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.008647, allocations: 15.84 kB / 0.6252 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.00866, allocations: 4 kB / 0.6252 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.00877, allocations: 15.98 kB / 0.6253 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.008786, allocations: 7.984 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.008801, allocations: 11.98 kB / 0.6253 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.0089, allocations: 161.5 kB / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0089, allocations: 3.938 kB / 0.6254 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000206/0.009106, allocations: 31.94 kB / 0.6255 GB, free: 5.668 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: 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.0004756/0.009582, allocations: 0.7513 MB / 0.6262 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.009728, allocations: 71.83 kB / 0.6263 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.00973, allocations: 0 / 0.6263 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.009757, allocations: 24.73 kB / 0.6263 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.009993, allocations: 20 kB / 0.6263 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.01159, allocations: 1.917 MB / 0.6282 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.318e-05/0.01166, allocations: 114.2 kB / 0.6283 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.01175, allocations: 56.88 kB / 0.6283 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.0118, allocations: 48.42 kB / 0.6284 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.0118, allocations: 0 / 0.6284 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.03012, allocations: 5.015 MB / 0.6333 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.045, allocations: 11.05 kB / 0.6333 GB, free: 13.66 MB / 0.6042 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: 9.833471750840545] Failed to read output from testmodel.py, exit status != 0: 7.126964503899217 7.137772301 7.130967558 Calling exit ...