Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006492/0.0006492, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008143/0.0008143, allocations: 213.9 kB / 22.25 MB, free: 3.578 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 0.9973/0.9973, allocations: 230.6 MB / 256 MB, free: 9.602 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.7914/0.7914, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_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.001331/0.001331, allocations: 67.39 kB / 0.7181 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6086, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002037/0.6107, allocations: 1.385 MB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.6108, allocations: 31.41 kB / 0.8192 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.6109, allocations: 0 / 0.8192 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.611, allocations: 20.45 kB / 0.8192 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.6111, allocations: 14.31 kB / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.949e-06/0.6112, allocations: 4 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.6112, allocations: 11.28 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.6113, allocations: 3.844 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.6113, allocations: 11.3 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.6114, allocations: 13.47 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.6114, allocations: 1.406 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.6114, allocations: 11.89 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.6115, allocations: 3.344 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.6115, allocations: 4.875 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.6116, allocations: 25.52 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6116, allocations: 4 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6116, allocations: 0 / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6116, allocations: 1.219 kB / 0.8193 GB, free: 8 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.0003378/0.6119, allocations: 259.6 kB / 0.8195 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.612, allocations: 6.844 kB / 0.8195 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.612, allocations: 36.75 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.6121, allocations: 2.438 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.6122, allocations: 118.5 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.6122, allocations: 1.562 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.6122, allocations: 5.312 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.6123, allocations: 40.83 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6123, allocations: 5.281 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.6123, allocations: 3.938 kB / 0.8197 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.6124, allocations: 5.078 kB / 0.8197 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.6124, allocations: 8.188 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.6126, allocations: 208.2 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.6127, allocations: 25.61 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.6127, allocations: 8.859 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6127, allocations: 2.734 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.6127, allocations: 31.17 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.6127, allocations: 4 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.6129, allocations: 35.53 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.6129, allocations: 51.41 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.613, allocations: 118.7 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.613, allocations: 29.2 kB / 0.8202 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.613, allocations: 85.55 kB / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.613, allocations: 3.938 kB / 0.8203 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.6131, allocations: 12.44 kB / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.6132, allocations: 315.4 kB / 0.8206 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.6132, allocations: 0.7031 kB / 0.8206 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.6132, allocations: 7.719 kB / 0.8207 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.6132, allocations: 12.06 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6132, allocations: 3.938 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.78e-05/0.6132, allocations: 40.19 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6133, allocations: 3.562 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6133, allocations: 0 / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6133, allocations: 3.359 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.6133, allocations: 0 / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6133, allocations: 4.594 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.6134, allocations: 0.8438 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.6134, allocations: 6.031 kB / 0.8207 GB, free: 14.47 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.425e-05/0.6134, allocations: 113.4 kB / 0.8208 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.6134, allocations: 1.094 kB / 0.8208 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.898e-05/0.6135, allocations: 48.22 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6135, allocations: 0 / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6135, allocations: 3.938 kB / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6135, allocations: 0.5625 kB / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.6136, allocations: 135.6 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6136, allocations: 4 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.6136, allocations: 4.641 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.6136, allocations: 0 / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.6136, allocations: 3.156 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6137, allocations: 0.8906 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6137, allocations: 320 / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.6137, allocations: 147.5 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.6137, allocations: 3.359 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.6137, allocations: 0 / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.6138, allocations: 0.6094 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.6138, allocations: 1.703 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.6138, allocations: 0 / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.6138, allocations: 99.86 kB / 0.8213 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6138, allocations: 0 / 0.8213 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001499/0.614, allocations: 3.781 kB / 0.8213 GB, free: 13.9 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.0003981/0.6144, allocations: 0.6845 MB / 0.8219 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.6145, allocations: 9.734 kB / 0.8219 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6145, allocations: 0 / 0.8219 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.6145, allocations: 4.969 kB / 0.8219 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.6146, allocations: 0.6094 kB / 0.822 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6158, allocations: 1.181 MB / 0.8231 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.6159, allocations: 66.61 kB / 0.8232 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.757e-05/0.616, allocations: 8.734 kB / 0.8232 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.616, allocations: 9.25 kB / 0.8232 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.616, allocations: 5.906 kB / 0.8232 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.6344, allocations: 1.898 MB / 0.825 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/7.121, allocations: 6.578 kB / 0.825 GB, free: 11.09 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.30158883659169] Failed to read output from testmodel.py, exit status != 0: 7.201768088154495 7.214657042 6.600046561 Calling exit ...