Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0008178/0.0008178, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009384/0.0009384, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.028/1.028, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.8255/0.8255, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001069/0.001069, allocations: 66.45 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5384, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002136/0.5405, allocations: 1.385 MB / 0.8192 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.5407, allocations: 41.98 kB / 0.8192 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.5407, allocations: 3.938 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.5409, allocations: 17.11 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.541, allocations: 19.97 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.468e-06/0.541, allocations: 0 / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.5411, allocations: 13.73 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.5411, allocations: 8.328 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.5411, allocations: 10.75 kB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.5412, allocations: 11.77 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.5412, allocations: 0 / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.5412, allocations: 10.86 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.5413, allocations: 3.109 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.5413, allocations: 16.08 kB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.5414, allocations: 32.41 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5414, allocations: 0 / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5414, allocations: 0 / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5414, allocations: 0 / 0.8194 GB, free: 196 kB / 0.6042 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.0002929/0.5417, allocations: 263.9 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5418, allocations: 12.27 kB / 0.8196 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.5418, allocations: 34.75 kB / 0.8197 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.5418, allocations: 2.75 kB / 0.8197 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.542, allocations: 127.7 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.542, allocations: 4.375 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.542, allocations: 384 / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.5421, allocations: 32.84 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5421, allocations: 3.938 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5421, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.5422, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.5422, allocations: 7.984 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.5423, allocations: 125.8 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.5423, allocations: 19.28 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.5424, allocations: 12.8 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.5424, allocations: 1.688 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5424, allocations: 33.41 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.5424, allocations: 0 / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.5426, allocations: 43.28 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5426, allocations: 52.02 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.5427, allocations: 122.5 kB / 0.8202 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.5427, allocations: 25.7 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.5427, allocations: 88.3 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.5428, allocations: 3.953 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.5428, allocations: 12.88 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.5429, allocations: 315.7 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-06/0.5429, allocations: 5.906 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-06/0.5429, allocations: 3.141 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.5429, allocations: 12.06 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5429, allocations: 0.5 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.478e-05/0.5429, allocations: 44.33 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.543, allocations: 10.03 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.543, allocations: 0 / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.543, allocations: 0.6562 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.543, allocations: 0 / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.543, allocations: 5.797 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-06/0.543, allocations: 0 / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.5431, allocations: 7.156 kB / 0.8207 GB, free: 14.72 MB / 0.6198 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.369e-05/0.5431, allocations: 107 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.5431, allocations: 12.67 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.5432, allocations: 48.19 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5432, allocations: 1.812 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5432, allocations: 0 / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5432, allocations: 0 / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.5433, allocations: 126.7 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5433, allocations: 0.6562 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-06/0.5433, allocations: 5.875 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5433, allocations: 5.5 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5433, allocations: 0 / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5433, allocations: 6.531 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5433, allocations: 0 / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.996e-05/0.5433, allocations: 59.12 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.5433, allocations: 3.172 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.5433, allocations: 8.719 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-06/0.5434, allocations: 0 / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.5434, allocations: 4.641 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.5434, allocations: 7.688 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.5434, allocations: 89.28 kB / 0.8212 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5434, allocations: 0 / 0.8212 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001263/0.5435, allocations: 8.969 kB / 0.8212 GB, free: 14.21 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 (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.0003454/0.5439, allocations: 0.6182 MB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.544, allocations: 9.562 kB / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.544, allocations: 0 / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.544, allocations: 12.58 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.5441, allocations: 4.5 kB / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.5448, allocations: 1.106 MB / 0.8229 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.545, allocations: 0.6789 MB / 0.8236 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.545, allocations: 4.531 kB / 0.8236 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.5451, allocations: 10.59 kB / 0.8236 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.5451, allocations: 0 / 0.8236 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.5592, allocations: 1.504 MB / 0.8251 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/7.269, allocations: 4.484 kB / 0.8251 GB, free: 11.33 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.435106927063316] Failed to read output from testmodel.py, exit status != 0: 7.3514988399110734 7.364296219 6.820830348 Calling exit ...