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.0007489/0.0007489, allocations: 76.45 kB / 19.9 MB, free: 12 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.0007824/0.0007824, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9092/0.9092, 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.7314/0.7314, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.0008751/0.0008751, allocations: 75.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.5429/0.5437, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002045/0.5458, allocations: 1.504 MB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.547, allocations: 1.202 MB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.547, allocations: 5.219 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.5472, allocations: 18.33 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.5473, allocations: 44.2 kB / 0.7218 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.5475, allocations: 63.17 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.5476, allocations: 146.8 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.5477, allocations: 38.09 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.5479, allocations: 113.7 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.548, allocations: 54.23 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.548, allocations: 11.81 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-05/0.548, allocations: 24.27 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.5481, allocations: 45.78 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.5482, allocations: 70.36 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.5484, allocations: 204.9 kB / 0.7225 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5484, allocations: 5.094 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5484, allocations: 0 / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5484, allocations: 0 / 0.7225 GB, free: 21.41 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.0005029/0.5489, allocations: 425.9 kB / 0.7229 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.549, allocations: 9.406 kB / 0.7229 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.549, allocations: 22.27 kB / 0.723 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.5492, allocations: 206.8 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5493, allocations: 227.8 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5493, allocations: 7.875 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.5496, allocations: 260.7 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5496, allocations: 0 / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.5496, allocations: 5.031 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.5497, allocations: 9.469 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.5497, allocations: 46.66 kB / 0.7237 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.5504, allocations: 379.8 kB / 0.7241 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.5504, allocations: 35.67 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.5504, allocations: 20.64 kB / 0.7241 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.5505, allocations: 5.312 kB / 0.7241 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.5505, allocations: 31.72 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.5505, allocations: 1.188 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0001957/0.5507, allocations: 106 kB / 0.7242 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.5507, allocations: 52.34 kB / 0.7243 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.5508, allocations: 220.6 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.5509, allocations: 26.8 kB / 0.7245 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.5509, allocations: 129.7 kB / 0.7247 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5509, allocations: 25.7 kB / 0.7247 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.551, allocations: 31.44 kB / 0.7247 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.551, allocations: 332 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.551, allocations: 28.34 kB / 0.7251 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.5511, allocations: 95.69 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.5512, allocations: 148.5 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5512, allocations: 1.062 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000167/0.5514, allocations: 154.2 kB / 0.7254 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5514, allocations: 5.656 kB / 0.7254 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5514, allocations: 4.562 kB / 0.7254 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5514, allocations: 3.188 kB / 0.7254 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.5515, allocations: 21.94 kB / 0.7255 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5515, allocations: 8.125 kB / 0.7255 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.5515, allocations: 17.11 kB / 0.7255 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.5516, allocations: 11.09 kB / 0.7255 GB, free: 18.97 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.252e-05/0.5516, allocations: 142.4 kB / 0.7256 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.5517, allocations: 19.36 kB / 0.7257 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.5518, allocations: 118.4 kB / 0.7258 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5518, allocations: 1.5 kB / 0.7258 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5518, allocations: 4 kB / 0.7258 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5518, allocations: 5.953 kB / 0.7258 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.5519, allocations: 155.9 kB / 0.7259 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5519, allocations: 1.438 kB / 0.7259 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.552, allocations: 17.08 kB / 0.7259 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.552, allocations: 4.844 kB / 0.726 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.552, allocations: 2.406 kB / 0.726 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.552, allocations: 0.6094 kB / 0.726 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.552, allocations: 1.5 kB / 0.726 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5521, allocations: 193.4 kB / 0.7261 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.5521, allocations: 24.88 kB / 0.7262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.5521, allocations: 0.5625 kB / 0.7262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.5522, allocations: 17.98 kB / 0.7262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.5523, allocations: 6.219 kB / 0.7262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5523, allocations: 18.42 kB / 0.7262 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001003/0.5524, allocations: 159.9 kB / 0.7264 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5524, allocations: 0 / 0.7264 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002033/0.5526, allocations: 36.39 kB / 0.7264 GB, free: 18.3 MB / 0.6355 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.0001675/0.5528, allocations: 128.6 kB / 0.7265 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.5529, allocations: 73.91 kB / 0.7266 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5529, allocations: 0 / 0.7266 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.5529, allocations: 27.7 kB / 0.7266 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.5531, allocations: 22.84 kB / 0.7266 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.5535, allocations: 290.9 kB / 0.7269 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.5536, allocations: 123 kB / 0.727 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.952e-05/0.5537, allocations: 50.41 kB / 0.7271 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.5538, allocations: 18.42 kB / 0.7271 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.5538, allocations: 0 / 0.7271 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.004907/0.5587, allocations: 2.46 MB / 0.7295 GB, free: 17.59 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.400423780083656] Failed to read output from testmodel.py, exit status != 0: 0.5638098540948704 0.57319504 0.022794463 Calling exit ...