Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.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.001003/0.001003, 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.0008748/0.0008748, 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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6915/0.6915, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.181e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002011/0.002033, allocations: 1.369 MB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.00215, allocations: 39.77 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.00219, allocations: 0 / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.002349, allocations: 11.92 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.002454, allocations: 11.88 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.002458, allocations: 3.938 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.002523, allocations: 19.91 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.002562, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.002601, allocations: 8 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.00265, allocations: 15.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.002672, allocations: 0 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.002715, allocations: 11.94 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.002754, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.002771, allocations: 11.98 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.002858, allocations: 23.84 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00286, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002861, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.002866, allocations: 4 kB / 0.6196 GB, free: 12.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002432/0.003109, allocations: 258.3 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.003143, allocations: 8.031 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.00319, allocations: 30.75 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.00321, allocations: 8.891 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.003323, allocations: 113.8 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.00333, allocations: 384 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.003337, allocations: 384 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.003409, allocations: 34.27 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003416, allocations: 4.125 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003424, allocations: 4.359 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.003438, allocations: 4.125 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.003458, allocations: 15.92 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.003661, allocations: 208.1 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.003694, allocations: 18.58 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.003707, allocations: 4.859 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.003723, allocations: 3.938 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.00374, allocations: 38.56 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.003742, allocations: 0 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.003853, allocations: 37.64 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.00388, allocations: 59.41 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.003944, allocations: 114 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.003958, allocations: 25.7 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.003988, allocations: 88.08 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.003998, allocations: 3.953 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.00402, allocations: 17.7 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.00409, allocations: 314.8 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.004099, allocations: 4 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.004104, allocations: 3.938 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.671e-05/0.00412, allocations: 8.859 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004122, allocations: 3.938 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.666e-05/0.004158, allocations: 45.69 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004169, allocations: 4 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004174, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.004183, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.004226, allocations: 4 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004231, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.004241, allocations: 4 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004245, allocations: 0 / 0.621 GB, free: 10.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.081e-05/0.004296, allocations: 118.8 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.004308, allocations: 7.922 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.004374, allocations: 45.16 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.004376, allocations: 4 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.004379, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.004381, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.004474, allocations: 132.7 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004475, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.004481, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.004484, allocations: 7.875 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.004492, allocations: 7.984 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.004492, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004493, allocations: 4.031 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.885e-05/0.004552, allocations: 131.5 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.00456, allocations: 7.922 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.004571, allocations: 7.984 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.004592, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.004602, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.004604, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.004639, allocations: 87.28 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004639, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001429/0.004782, allocations: 11.98 kB / 0.6216 GB, free: 9.84 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 (1): * Single equations (assignments): 1 * 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.0003328/0.005114, allocations: 0.6829 MB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.285e-05/0.005167, allocations: 15.94 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005168, allocations: 0 / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.005172, allocations: 0 / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.005318, allocations: 4 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.005963, allocations: 1.183 MB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.006008, allocations: 63.34 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.016e-05/0.006058, allocations: 0 / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.006086, allocations: 12.5 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.006086, allocations: 0 / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.01929, allocations: 2.035 MB / 0.6255 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.192, allocations: 6.781 kB / 0.6255 GB, free: 5.855 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.895289213396609] Failed to read output from testmodel.py, exit status != 0: 7.271233772858977 7.279782636 7.275250486 Calling exit ...