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.001143/0.001143, 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.00164/0.00164, 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.9418/0.9418, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.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.761/0.761, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.618 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.706e-05, allocations: 2.281 kB / 0.618 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00222/0.002247, allocations: 1.388 MB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.00239, allocations: 39.81 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002436, allocations: 0 / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.002635, allocations: 11.94 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.002761, allocations: 23.78 kB / 0.6194 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.439e-06/0.002766, allocations: 0 / 0.6194 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.002839, allocations: 11.94 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.002891, allocations: 15.98 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.002938, allocations: 4 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.002996, allocations: 11.92 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003019, allocations: 0 / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.003067, allocations: 12 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.003119, allocations: 0 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.003139, allocations: 8 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.00325, allocations: 39.77 kB / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003252, allocations: 0 / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003254, allocations: 0 / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.003259, allocations: 0 / 0.6195 GB, free: 12.04 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.0003105/0.003569, allocations: 258.3 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.003609, allocations: 9.469 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.003641, allocations: 34.75 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.003665, allocations: 0.9375 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.003812, allocations: 113.7 kB / 0.6199 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.003819, allocations: 384 / 0.6199 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003827, allocations: 4.375 kB / 0.6199 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.003911, allocations: 34.25 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.003919, allocations: 192 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.003929, allocations: 8.359 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.003949, allocations: 12.06 kB / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.003967, allocations: 3.938 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.004097, allocations: 124.8 kB / 0.6201 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.004138, allocations: 18.56 kB / 0.6201 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.004157, allocations: 12.92 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.004179, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.004199, allocations: 38.5 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.0042, allocations: 0 / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.004341, allocations: 37.64 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.004379, allocations: 55.47 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.004466, allocations: 133.7 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.004476, allocations: 25.7 kB / 0.6204 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.004514, allocations: 84.14 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.004535, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.004559, allocations: 13.72 kB / 0.6205 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.004643, allocations: 314.8 kB / 0.6208 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.004654, allocations: 0 / 0.6208 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.004661, allocations: 7.984 kB / 0.6208 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.004683, allocations: 8.859 kB / 0.6208 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004684, allocations: 4.062 kB / 0.6208 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.223e-05/0.004727, allocations: 41.64 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.00474, allocations: 4 kB / 0.6209 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.004745, allocations: 0 / 0.6209 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004757, allocations: 0 / 0.6209 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.004809, allocations: 7.938 kB / 0.6209 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.004816, allocations: 3.984 kB / 0.6209 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.004825, allocations: 0 / 0.6209 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.00483, allocations: 320 / 0.6209 GB, free: 10.46 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.846e-05/0.004888, allocations: 110.8 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.004894, allocations: 7.984 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.004973, allocations: 45.16 kB / 0.6211 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.004976, allocations: 3.938 kB / 0.6211 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.004983, allocations: 3.938 kB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004986, allocations: 0 / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.73e-05/0.005063, allocations: 132.7 kB / 0.6212 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005064, allocations: 0 / 0.6212 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.005075, allocations: 7.938 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005077, allocations: 0 / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.005084, allocations: 0 / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.005089, allocations: 4 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.005091, allocations: 7.969 kB / 0.6212 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.297e-05/0.005144, allocations: 61.12 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.005155, allocations: 3.953 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.005164, allocations: 3.938 kB / 0.6213 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-06/0.00517, allocations: 4 kB / 0.6213 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.005183, allocations: 3.938 kB / 0.6213 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.005184, allocations: 0 / 0.6213 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.005226, allocations: 95.25 kB / 0.6214 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005226, allocations: 0 / 0.6214 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001341/0.00536, allocations: 7.938 kB / 0.6214 GB, free: 9.887 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.000319/0.005679, allocations: 0.6055 MB / 0.622 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.005757, allocations: 8 kB / 0.622 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.005759, allocations: 0 / 0.622 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.005765, allocations: 11.92 kB / 0.622 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.0059, allocations: 16.03 kB / 0.622 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.006674, allocations: 1.106 MB / 0.6231 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.006719, allocations: 63.34 kB / 0.6231 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.938e-05/0.006778, allocations: 4 kB / 0.6231 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.006816, allocations: 12.5 kB / 0.6232 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.006816, allocations: 3.938 kB / 0.6232 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.02163, allocations: 2.045 MB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/6.892, allocations: 7.547 kB / 0.6252 GB, free: 6.031 MB / 0.5886 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: 9.873465301468968] Failed to read output from testmodel.py, exit status != 0: 6.970529315061867 6.97958897 6.974459097 Calling exit ...