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.0008143/0.0008143, allocations: 109.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.0009236/0.0009236, allocations: 216 kB / 22.25 MB, free: 3.73 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 1.022/1.022, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.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.8091/0.8091, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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.0009019/0.0009019, allocations: 63.53 kB / 0.7178 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5102, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002201/0.5124, allocations: 1.497 MB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.514, allocations: 1.2 MB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.5141, allocations: 7.875 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.5143, allocations: 23.31 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.5146, allocations: 37.97 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.5147, allocations: 62.36 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.5149, allocations: 148.9 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.5151, allocations: 43.64 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.5152, allocations: 83.23 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.5154, allocations: 47.31 kB / 0.8204 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.5154, allocations: 10.06 kB / 0.8204 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.5155, allocations: 25.5 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.5155, allocations: 57.8 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/0.5156, allocations: 63.28 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.516, allocations: 201.4 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.516, allocations: 0 / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.516, allocations: 1 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.516, allocations: 0 / 0.8208 GB, free: 15.04 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008168/0.5168, allocations: 429.7 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5168, allocations: 10.09 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.5169, allocations: 43.91 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.517, allocations: 22.31 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.5172, allocations: 203.8 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.5174, allocations: 225.8 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.5174, allocations: 5.203 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.5177, allocations: 267.5 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5177, allocations: 0 / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.5177, allocations: 3.812 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.5178, allocations: 6.344 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.5178, allocations: 47.31 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.5186, allocations: 401.7 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.5187, allocations: 35.55 kB / 0.8224 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.5187, allocations: 25.7 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.5187, allocations: 3.781 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.5188, allocations: 32.34 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.5188, allocations: 0 / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002999/0.5191, allocations: 111.2 kB / 0.8226 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5191, allocations: 60.66 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.5193, allocations: 225.3 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.5194, allocations: 25.7 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.5194, allocations: 119.8 kB / 0.823 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.5195, allocations: 29.62 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.5195, allocations: 35.23 kB / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5196, allocations: 326.2 kB / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.5197, allocations: 28.73 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5198, allocations: 100.1 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.5199, allocations: 143.2 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5199, allocations: 0 / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002464/0.5202, allocations: 154.1 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5202, allocations: 6.406 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5202, allocations: 2.688 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.5203, allocations: 4.281 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.5204, allocations: 25.92 kB / 0.8238 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5204, allocations: 8.094 kB / 0.8238 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.5204, allocations: 16.22 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5204, allocations: 7.875 kB / 0.8238 GB, free: 12.52 MB / 0.6198 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.0001319/0.5206, allocations: 138.2 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5206, allocations: 23.8 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.5209, allocations: 113.5 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5209, allocations: 2.047 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5209, allocations: 3.938 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5209, allocations: 1.875 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.5211, allocations: 193.3 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5211, allocations: 0 / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.5212, allocations: 18.09 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5212, allocations: 0 / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5212, allocations: 7.141 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5212, allocations: 0.7031 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5212, allocations: 3.938 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.5213, allocations: 187.4 kB / 0.8245 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.5214, allocations: 12.67 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5214, allocations: 1.609 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5215, allocations: 21.08 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.5215, allocations: 14.08 kB / 0.8245 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.5216, allocations: 10.7 kB / 0.8245 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001161/0.5217, allocations: 164.5 kB / 0.8247 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5217, allocations: 0 / 0.8247 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002363/0.5219, allocations: 36.02 kB / 0.8247 GB, free: 11.82 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: 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.0004827/0.5224, allocations: 0.7588 MB / 0.8255 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.5226, allocations: 68.48 kB / 0.8255 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5226, allocations: 1.156 kB / 0.8255 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.5226, allocations: 22.78 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5228, allocations: 21.67 kB / 0.8256 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5247, allocations: 1.923 MB / 0.8275 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.5248, allocations: 122.2 kB / 0.8276 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.5249, allocations: 54.59 kB / 0.8276 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.525, allocations: 45.33 kB / 0.8277 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.525, allocations: 0 / 0.8277 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.5454, allocations: 4.889 MB / 0.8324 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/7.122, allocations: 11.83 kB / 0.8325 GB, free: 8.273 MB / 0.6198 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.255152865312994] Failed to read output from testmodel.py, exit status != 0: 7.204921111930162 7.219176459 6.700550015 Calling exit ...