Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008738/0.0008738, 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.0009817/0.0009817, 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.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7314/0.7314, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.179e-05, allocations: 8.875 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002196/0.002228, allocations: 1.49 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003432, allocations: 1.215 MB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.003506, allocations: 7.938 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.003703, allocations: 11.88 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.00392, allocations: 47.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.004077, allocations: 63.34 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.004237, allocations: 151.5 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.00438, allocations: 33.28 kB / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004499, allocations: 107.7 kB / 0.6211 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004621, allocations: 47.83 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.004653, allocations: 12 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.004737, allocations: 23.98 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.004816, allocations: 47.89 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.004868, allocations: 47.83 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.005102, allocations: 223.3 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005105, allocations: 4 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.005106, allocations: 0 / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.005111, allocations: 0 / 0.6215 GB, free: 10.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006442/0.005755, allocations: 429.3 kB / 0.6219 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.005809, allocations: 9.469 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.005866, allocations: 42.73 kB / 0.6219 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.005938, allocations: 16.84 kB / 0.6219 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.006231, allocations: 198 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.006389, allocations: 226.2 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.006403, allocations: 8.375 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.006698, allocations: 257 kB / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.006708, allocations: 4.172 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.006726, allocations: 3.938 kB / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.006752, allocations: 11.98 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.006818, allocations: 51.84 kB / 0.6227 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.007572, allocations: 403.6 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.007644, allocations: 34.5 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.007679, allocations: 28.84 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.007709, allocations: 0 / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.007737, allocations: 34.56 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.007738, allocations: 0 / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002476/0.007986, allocations: 105.8 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.008018, allocations: 55.34 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.008185, allocations: 224.8 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.008209, allocations: 29.7 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.008271, allocations: 124.2 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.00829, allocations: 31.73 kB / 0.6237 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.008329, allocations: 21.72 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.008424, allocations: 338.8 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.008461, allocations: 19.98 kB / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.008536, allocations: 102.3 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.008658, allocations: 142.1 kB / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008661, allocations: 0 / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001764/0.008837, allocations: 157.3 kB / 0.6244 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.008853, allocations: 6.031 kB / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.008859, allocations: 4 kB / 0.6244 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.008872, allocations: 4 kB / 0.6244 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.00895, allocations: 23.98 kB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.008958, allocations: 7.938 kB / 0.6245 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.009003, allocations: 12.27 kB / 0.6245 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.009013, allocations: 15.94 kB / 0.6245 GB, free: 6.785 MB / 0.5886 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 8.952e-05/0.009103, allocations: 141.8 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.009137, allocations: 11.91 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.009294, allocations: 127.1 kB / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009297, allocations: 0 / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.009301, allocations: 0 / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009304, allocations: 0 / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.009461, allocations: 188.6 kB / 0.6249 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.009464, allocations: 4 kB / 0.6249 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.009495, allocations: 15.98 kB / 0.625 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009497, allocations: 4 kB / 0.625 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.009505, allocations: 4 kB / 0.625 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.009506, allocations: 3.938 kB / 0.625 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009507, allocations: 0 / 0.625 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.009678, allocations: 195.3 kB / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.009694, allocations: 15.91 kB / 0.6252 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.009709, allocations: 0 / 0.6252 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.00983, allocations: 19.97 kB / 0.6252 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.00985, allocations: 11.92 kB / 0.6252 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.009867, allocations: 15.98 kB / 0.6252 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001002/0.009967, allocations: 161.5 kB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009967, allocations: 0 / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002308/0.0102, allocations: 35.88 kB / 0.6254 GB, free: 5.773 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 (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.0005432/0.01074, allocations: 0.7362 MB / 0.6261 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.0109, allocations: 71.84 kB / 0.6262 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.0109, allocations: 0 / 0.6262 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.01093, allocations: 23.98 kB / 0.6262 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01119, allocations: 19.98 kB / 0.6262 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.01282, allocations: 1.91 MB / 0.6281 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.01291, allocations: 126.2 kB / 0.6282 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.723e-05/0.01301, allocations: 56.81 kB / 0.6283 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.01308, allocations: 44.48 kB / 0.6283 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.01308, allocations: 0 / 0.6283 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.03606, allocations: 5.028 MB / 0.6332 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.197, allocations: 5.562 kB / 0.6332 GB, free: 13.77 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.04727496765554] Failed to read output from testmodel.py, exit status != 0: 7.280743662267923 7.295156829 7.287215169 Calling exit ...