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.001537/0.001537, allocations: 78.48 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001764/0.001764, allocations: 168 kB / 22.45 MB, free: 5.371 MB / 14.72 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 1.388/1.388, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.153/1.153, allocations: 154.7 MB / 413.9 MB, free: 5.125 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.894e-05, allocations: 5.906 kB / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002918/0.002947, allocations: 1.497 MB / 0.6202 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004662, allocations: 1.212 MB / 0.6214 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.004724, allocations: 3.938 kB / 0.6214 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.004916, allocations: 19.8 kB / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.005127, allocations: 35.78 kB / 0.6214 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005323, allocations: 63.08 kB / 0.6215 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.005551, allocations: 151.5 kB / 0.6216 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.005688, allocations: 29.3 kB / 0.6217 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.005839, allocations: 107.8 kB / 0.6218 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.006009, allocations: 47.88 kB / 0.6218 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.006046, allocations: 12 kB / 0.6218 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.006121, allocations: 27.94 kB / 0.6219 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.006202, allocations: 47.83 kB / 0.6219 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.006281, allocations: 59.8 kB / 0.622 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.006594, allocations: 215.3 kB / 0.6222 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006597, allocations: 0 / 0.6222 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.006597, allocations: 0 / 0.6222 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006603, allocations: 0 / 0.6222 GB, free: 1.051 MB / 0.5294 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.0007425/0.007346, allocations: 425.3 kB / 0.6226 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.007384, allocations: 12.03 kB / 0.6226 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.007462, allocations: 20.8 kB / 0.6226 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.007792, allocations: 202 kB / 0.6228 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.008006, allocations: 222.1 kB / 0.623 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.008019, allocations: 8.312 kB / 0.623 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.008493, allocations: 264.9 kB / 0.6233 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.008503, allocations: 192 / 0.6233 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.008526, allocations: 8.125 kB / 0.6233 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.008553, allocations: 11.98 kB / 0.6233 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.008644, allocations: 43.97 kB / 0.6233 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.009721, allocations: 380.1 kB / 0.6237 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.009808, allocations: 30.56 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.009853, allocations: 24.84 kB / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.009885, allocations: 7.938 kB / 0.6237 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.009922, allocations: 38.56 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.009923, allocations: 0 / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003083/0.01023, allocations: 97.58 kB / 0.6239 GB, free: 15.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.01029, allocations: 55.39 kB / 0.6239 GB, free: 15.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01055, allocations: 216.8 kB / 0.6241 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.01058, allocations: 33.7 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.0107, allocations: 124.1 kB / 0.6243 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.01073, allocations: 23.75 kB / 0.6243 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.01078, allocations: 33.7 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.01095, allocations: 334.8 kB / 0.6247 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.011, allocations: 23.98 kB / 0.6247 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01113, allocations: 102.2 kB / 0.6248 GB, free: 14.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.01135, allocations: 138.2 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01135, allocations: 0 / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002524/0.01161, allocations: 157.6 kB / 0.6251 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01162, allocations: 11.97 kB / 0.6251 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01163, allocations: 4 kB / 0.6251 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01165, allocations: 4 kB / 0.6251 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01179, allocations: 27.97 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.0118, allocations: 4 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.0119, allocations: 11.92 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01191, allocations: 8 kB / 0.6251 GB, free: 13.69 MB / 0.545 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 0.0001378/0.01205, allocations: 146.6 kB / 0.6253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.01211, allocations: 23.84 kB / 0.6253 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.01236, allocations: 115.1 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01236, allocations: 8 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.01237, allocations: 0 / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01237, allocations: 0 / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.01259, allocations: 157.2 kB / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01259, allocations: 0 / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.01264, allocations: 15.98 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01264, allocations: 0 / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.01265, allocations: 7.938 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01265, allocations: 0 / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01265, allocations: 0 / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.01289, allocations: 203.7 kB / 0.6258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.01291, allocations: 19.84 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01293, allocations: 0 / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.01317, allocations: 19.97 kB / 0.6258 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.01319, allocations: 3.984 kB / 0.6258 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.01322, allocations: 19.98 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001716/0.01339, allocations: 161.5 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01339, allocations: 0 / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002947/0.01368, allocations: 31.95 kB / 0.626 GB, free: 12.71 MB / 0.545 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.0002598/0.01394, allocations: 122.1 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01414, allocations: 67.84 kB / 0.6262 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01414, allocations: 0.75 kB / 0.6262 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.01418, allocations: 27.92 kB / 0.6262 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01448, allocations: 24.64 kB / 0.6263 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.01512, allocations: 301.8 kB / 0.6265 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.01525, allocations: 118.2 kB / 0.6267 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.01537, allocations: 48.88 kB / 0.6267 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.01541, allocations: 16.5 kB / 0.6267 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01541, allocations: 0 / 0.6267 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Templates: time 0.00608/0.02149, allocations: 2.456 MB / 0.6291 GB, free: 9.551 MB / 0.545 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: 5.706355378031731] Failed to read output from testmodel.py, exit status != 0: 0.029968056827783585 0.044335708 0.034738157000000006 Calling exit ...