Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.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.00132/0.00132, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009489/0.0009489, allocations: 169 kB / 23.02 MB, free: 1.547 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.9691/0.9691, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.7677/0.7677, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.902e-05, allocations: 3.5 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002465/0.002494, allocations: 1.38 MB / 0.5217 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.002629, allocations: 43.75 kB / 0.5217 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.002667, allocations: 0.5625 kB / 0.5217 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.002826, allocations: 16.83 kB / 0.5217 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.002934, allocations: 13.34 kB / 0.5217 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.002938, allocations: 0.5469 kB / 0.5217 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.002997, allocations: 16.84 kB / 0.5217 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.003031, allocations: 4 kB / 0.5218 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.003075, allocations: 8.891 kB / 0.5218 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.003121, allocations: 0 / 0.5218 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.003141, allocations: 4 kB / 0.5218 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.006211, allocations: 20.94 kB / 0.5218 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.006253, allocations: 7.938 kB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.006271, allocations: 0 / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.006379, allocations: 25.39 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.006383, allocations: 3.938 kB / 0.5218 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.006385, allocations: 0 / 0.5218 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.00639, allocations: 0 / 0.5218 GB, free: 0.6797 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.0003065/0.006696, allocations: 357.7 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.006733, allocations: 12.03 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.00677, allocations: 4.938 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.006917, allocations: 133.9 kB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.006925, allocations: 1.656 kB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.006931, allocations: 4.375 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.024e-05/0.007002, allocations: 30.25 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.007008, allocations: 1.188 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.007016, allocations: 384 / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.007046, allocations: 4.375 kB / 0.5223 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.007059, allocations: 12.45 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.007195, allocations: 116.7 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.007236, allocations: 27.84 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.007253, allocations: 8.531 kB / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.007268, allocations: 0 / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.007288, allocations: 33.39 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.007289, allocations: 2.438 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.007411, allocations: 45.69 kB / 0.5226 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.007439, allocations: 55.34 kB / 0.5226 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.007538, allocations: 177.8 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.007548, allocations: 25.7 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.007589, allocations: 135.7 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.00761, allocations: 0 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.007638, allocations: 16.66 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.007764, allocations: 0.4923 MB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.007775, allocations: 0 / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.007783, allocations: 0.5312 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.007811, allocations: 13.19 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007813, allocations: 0 / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.03e-05/0.007873, allocations: 37.64 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007887, allocations: 4 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007892, allocations: 4.484 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.007903, allocations: 0.9062 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.007957, allocations: 4 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007962, allocations: 1.062 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.007976, allocations: 3.938 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.007981, allocations: 0.625 kB / 0.5235 GB, free: 14.74 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.093e-05/0.008052, allocations: 157.5 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.008063, allocations: 7.953 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.008149, allocations: 45.58 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008151, allocations: 3.938 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008154, allocations: 4 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008158, allocations: 5.688 kB / 0.5237 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.516e-05/0.008233, allocations: 120.6 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008234, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.008251, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008253, allocations: 3.062 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.00826, allocations: 4 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008261, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008263, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.43e-05/0.008327, allocations: 72.39 kB / 0.5239 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.008338, allocations: 7.938 kB / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.008349, allocations: 0 / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.008356, allocations: 0 / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.008369, allocations: 10.38 kB / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.008372, allocations: 0 / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.008422, allocations: 131.2 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008422, allocations: 3.938 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001857/0.008607, allocations: 11.94 kB / 0.5241 GB, free: 14.1 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.0001913/0.008799, allocations: 118.5 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.008867, allocations: 12.59 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.008869, allocations: 1.156 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.008881, allocations: 15.67 kB / 0.5242 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.01181, allocations: 2.969 kB / 0.5242 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.0121, allocations: 118.3 kB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.01213, allocations: 55.36 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.01215, allocations: 3.984 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.01217, allocations: 12.5 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01217, allocations: 3.938 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.002226/0.0144, allocations: 0.5115 MB / 0.5249 GB, free: 13.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7319896980188787]