Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008178/0.0008178, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0009226/0.0009226, allocations: 169.2 kB / 23.19 MB, free: 1.363 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.8572/0.8572, allocations: 177.2 MB / 203.6 MB, free: 5.648 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.7075/0.7075, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [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.0009378/0.0009378, allocations: 73.48 kB / 0.6195 GB, free: 13.13 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.3944/0.3954, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001899/0.3973, allocations: 1.504 MB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3984, allocations: 1.202 MB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.3984, allocations: 1.219 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.3986, allocations: 22.22 kB / 0.7218 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.3988, allocations: 41.16 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.3989, allocations: 62.39 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3991, allocations: 155.8 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3992, allocations: 33.77 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3993, allocations: 105.5 kB / 0.7221 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3994, allocations: 58.47 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3995, allocations: 10.88 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.3995, allocations: 25.09 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.3996, allocations: 53.44 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.3996, allocations: 63.2 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3999, allocations: 230.5 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3999, allocations: 1.062 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3999, allocations: 0 / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3999, allocations: 0 / 0.7226 GB, free: 21.38 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000498/0.4004, allocations: 429.5 kB / 0.723 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4004, allocations: 9.344 kB / 0.723 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4005, allocations: 21.77 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.4007, allocations: 206.3 kB / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.4008, allocations: 224.2 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4008, allocations: 4.672 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.4011, allocations: 268.4 kB / 0.7237 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4011, allocations: 0 / 0.7237 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4011, allocations: 1.969 kB / 0.7237 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4011, allocations: 8.797 kB / 0.7237 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.4012, allocations: 42.92 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4018, allocations: 382.8 kB / 0.7241 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.4018, allocations: 31.67 kB / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.4019, allocations: 21.77 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4019, allocations: 7.844 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.4019, allocations: 36.7 kB / 0.7242 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.4019, allocations: 1.219 kB / 0.7242 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002215/0.4021, allocations: 106 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.169e-05/0.4021, allocations: 53.2 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4023, allocations: 219.1 kB / 0.7245 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4023, allocations: 30.8 kB / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.4024, allocations: 121.6 kB / 0.7247 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.4024, allocations: 25.98 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.4024, allocations: 30.61 kB / 0.7247 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.4024, allocations: 333.3 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.4025, allocations: 25.16 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.4025, allocations: 95.95 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4027, allocations: 146.8 kB / 0.7253 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4027, allocations: 5.062 kB / 0.7253 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001639/0.4028, allocations: 150 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4028, allocations: 8.328 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4028, allocations: 2.906 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4029, allocations: 3.125 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.4029, allocations: 30 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4029, allocations: 8.328 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.403, allocations: 7.719 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.403, allocations: 11.34 kB / 0.7255 GB, free: 18.93 MB / 0.6355 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 7.888e-05/0.4031, allocations: 150.9 kB / 0.7257 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.4031, allocations: 19.2 kB / 0.7257 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.4033, allocations: 118.3 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4033, allocations: 6.031 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4033, allocations: 0 / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.4033, allocations: 12.94 kB / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4033, allocations: 9.797 kB / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4034, allocations: 18.17 kB / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.4034, allocations: 11.75 kB / 0.7259 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.207e-05/0.4035, allocations: 165.2 kB / 0.726 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001148/0.4036, allocations: 260.9 kB / 0.7263 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.516e-05/0.4037, allocations: 23.58 kB / 0.7263 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.605e-05/0.4038, allocations: 160.2 kB / 0.7264 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of Backend: time 2.51e-07/0.4038, allocations: 0 / 0.7264 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.4042, allocations: 167.1 kB / 0.7266 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004308/0.4046, allocations: 0.7222 MB / 0.7273 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.00452/0.4091, allocations: 2.773 MB / 0.73 GB, free: 17.16 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.909714886918664] Failed to read output from testmodel.py, exit status != 0: 0.41448253206908703 0.424629201 0.022213972000000002 Calling exit ...