Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007136/0.0007136, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.000745/0.000745, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8765/0.8765, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.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.7101/0.7101, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.0009736/0.0009736, allocations: 71.89 kB / 0.6195 GB, free: 13.17 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3925, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00193/0.3945, allocations: 1.384 MB / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.3946, allocations: 38.23 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.3946, allocations: 3.938 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.3948, allocations: 14.11 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3949, allocations: 10.45 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.3949, allocations: 0 / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.395, allocations: 21.17 kB / 0.7205 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.395, allocations: 11.17 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3951, allocations: 9.625 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3951, allocations: 5.688 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3951, allocations: 0.9688 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.3952, allocations: 24.47 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.3952, allocations: 6.047 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.3953, allocations: 11.64 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3954, allocations: 29.66 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3954, allocations: 0 / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3954, allocations: 0.9688 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3954, allocations: 0 / 0.7206 GB, free: 22.56 MB / 0.6355 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.0002576/0.3956, allocations: 263 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3957, allocations: 10.47 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3957, allocations: 2.219 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3958, allocations: 125.5 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3958, allocations: 1.312 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3958, allocations: 1.594 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.146e-05/0.3959, allocations: 34.5 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3959, allocations: 192 / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3959, allocations: 5.734 kB / 0.721 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3959, allocations: 1.312 kB / 0.721 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.396, allocations: 9.656 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.484e-05/0.396, allocations: 104.2 kB / 0.7212 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/0.3961, allocations: 19.03 kB / 0.7212 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.3961, allocations: 10.84 kB / 0.7212 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3961, allocations: 0 / 0.7212 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.3961, allocations: 37.52 kB / 0.7212 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.3961, allocations: 0 / 0.7212 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.3962, allocations: 41.91 kB / 0.7213 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.426e-05/0.3963, allocations: 53.2 kB / 0.7213 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.3963, allocations: 114.5 kB / 0.7214 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.3963, allocations: 27.64 kB / 0.7214 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.3964, allocations: 85.45 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3964, allocations: 5.859 kB / 0.7215 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.3964, allocations: 16.42 kB / 0.7215 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.3964, allocations: 317.7 kB / 0.7219 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.3964, allocations: 6.078 kB / 0.7219 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.3964, allocations: 1.469 kB / 0.7219 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.3965, allocations: 9.984 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3965, allocations: 4.641 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.346e-05/0.3965, allocations: 38.44 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3965, allocations: 5.812 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3965, allocations: 0.6094 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3965, allocations: 4.094 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.3966, allocations: 6.047 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3966, allocations: 1.5 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.3966, allocations: 3.938 kB / 0.7219 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3966, allocations: 5.438 kB / 0.7219 GB, free: 21.16 MB / 0.6355 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 3.448e-05/0.3966, allocations: 109.6 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-06/0.3966, allocations: 6.891 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.3967, allocations: 50.27 kB / 0.7221 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3967, allocations: 5.375 kB / 0.7221 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3967, allocations: 0 / 0.7221 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.3967, allocations: 10.23 kB / 0.7221 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.3967, allocations: 0.6094 kB / 0.7221 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-06/0.3967, allocations: 1.469 kB / 0.7221 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.3967, allocations: 0.7031 kB / 0.7221 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.135e-05/0.3968, allocations: 112.2 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 4.842e-05/0.3968, allocations: 219.1 kB / 0.7224 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.403e-05/0.3968, allocations: 2.234 kB / 0.7224 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.682e-05/0.3969, allocations: 91.05 kB / 0.7225 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of Backend: time 2.6e-07/0.3969, allocations: 0 / 0.7225 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3972, allocations: 98.73 kB / 0.7226 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002461/0.3975, allocations: 0.5611 MB / 0.7232 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.002093/0.3996, allocations: 0.5359 MB / 0.7237 GB, free: 19.82 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.847036353079602] Failed to read output from testmodel.py, exit status != 0: 0.4060400379821658 0.419791606 0.021982687 Calling exit ...