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.001121/0.001121, allocations: 92.31 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001232/0.001232, allocations: 169 kB / 23.49 MB, free: 1.051 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 1.075/1.075, allocations: 177.1 MB / 203.8 MB, free: 5.637 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-545:108: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-545:116: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.8001/0.8001, allocations: 154.6 MB / 414.9 MB, free: 0.707 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: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.1e-05, allocations: 4.562 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002302/0.002343, allocations: 1.402 MB / 0.5217 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000159/0.002502, allocations: 31.89 kB / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.00256, allocations: 3.938 kB / 0.5217 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.002768, allocations: 20.62 kB / 0.5217 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.002891, allocations: 17.48 kB / 0.5217 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.002895, allocations: 0 / 0.5217 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.002984, allocations: 23.86 kB / 0.5218 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.003031, allocations: 0 / 0.5218 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.003088, allocations: 8.734 kB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.003147, allocations: 11.94 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.00317, allocations: 1.469 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.003221, allocations: 11.94 kB / 0.5218 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.00327, allocations: 11.98 kB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.003295, allocations: 7.922 kB / 0.5218 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003413, allocations: 21.33 kB / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003416, allocations: 0 / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.003417, allocations: 0 / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.003423, allocations: 1 kB / 0.5218 GB, free: 0.9727 MB / 490.7 MB 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.0003579/0.003781, allocations: 360.5 kB / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.003822, allocations: 8.031 kB / 0.5222 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.003865, allocations: 7.844 kB / 0.5222 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.004036, allocations: 133.2 kB / 0.5223 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.004047, allocations: 384 / 0.5223 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.004059, allocations: 8.359 kB / 0.5223 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.004147, allocations: 30.25 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.004155, allocations: 4.125 kB / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004163, allocations: 384 / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.004198, allocations: 4.938 kB / 0.5224 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.246e-05/0.00421, allocations: 3.938 kB / 0.5224 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.004328, allocations: 117.2 kB / 0.5225 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/0.004366, allocations: 23.91 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.004388, allocations: 15.75 kB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.004406, allocations: 0.5 kB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.004433, allocations: 34.89 kB / 0.5226 GB, free: 112 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.004434, allocations: 3.938 kB / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.004577, allocations: 37.69 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.004615, allocations: 52.34 kB / 0.5227 GB, free: 0 / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.004736, allocations: 177.8 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.004746, allocations: 25.7 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.004792, allocations: 136.3 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.004816, allocations: 0 / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.004841, allocations: 19.38 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.004962, allocations: 0.4884 MB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.004973, allocations: 1.156 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.004982, allocations: 4 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.005012, allocations: 16.31 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.005015, allocations: 0 / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.855e-05/0.005073, allocations: 38.98 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.00509, allocations: 4 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005095, allocations: 1.344 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.005112, allocations: 3.984 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.005173, allocations: 4 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.005181, allocations: 320 / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.005194, allocations: 6.938 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.0052, allocations: 0 / 0.5235 GB, free: 15.03 MB / 0.4948 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 7.247e-05/0.005273, allocations: 152.6 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.005281, allocations: 7.953 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.005394, allocations: 52.62 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005396, allocations: 0 / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.005403, allocations: 4 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.005409, allocations: 6.688 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.029e-05/0.005489, allocations: 112.6 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.005491, allocations: 0 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.005504, allocations: 0 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.005506, allocations: 0 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.005515, allocations: 4 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.005518, allocations: 3.984 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.005519, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.036e-05/0.005589, allocations: 82.19 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.005601, allocations: 3.953 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005612, allocations: 0 / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.005618, allocations: 4 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.005635, allocations: 0.5625 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005638, allocations: 0.5 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.005689, allocations: 135.2 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005689, allocations: 1.812 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001378/0.005827, allocations: 11.88 kB / 0.5241 GB, free: 14.39 MB / 0.4948 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 (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 Backend phase and start with SimCode phase: time 0.000233/0.00606, allocations: 114.9 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.006146, allocations: 15.67 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006148, allocations: 0 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.006155, allocations: 14.12 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.006293, allocations: 11.94 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.006619, allocations: 114.3 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.006658, allocations: 55.36 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.006688, allocations: 7.984 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.006712, allocations: 9.531 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.006713, allocations: 0 / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of Templates: time 0.00249/0.009203, allocations: 0.5169 MB / 0.5249 GB, free: 13.52 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9852552539668977]