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.001343/0.001343, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001519/0.001519, allocations: 181 kB / 23.36 MB, free: 1.129 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.7862/0.7862, allocations: 154.6 MB / 414.8 MB, free: 0.543 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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 480 MB, free: 6.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.305e-05, allocations: 2.969 kB / 480 MB, free: 6.992 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002573/0.002586, allocations: 1.532 MB / 481.5 MB, free: 5.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004244, allocations: 1.266 MB / 482.8 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.004299, allocations: 0.6562 kB / 482.8 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.004471, allocations: 21.91 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.004662, allocations: 43.83 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.004818, allocations: 54.39 kB / 482.9 MB, free: 4.105 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005006, allocations: 156.2 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.005119, allocations: 38.59 kB / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.005241, allocations: 104.8 kB / 483.2 MB, free: 3.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.005358, allocations: 43.89 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.005389, allocations: 12 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.005451, allocations: 28.61 kB / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.005517, allocations: 43.83 kB / 483.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.005578, allocations: 52.83 kB / 483.4 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.005805, allocations: 183.3 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005807, allocations: 5.219 kB / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005807, allocations: 0 / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005811, allocations: 0 / 483.5 MB, free: 3.473 MB / 442.7 MB 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.0004682/0.006279, allocations: 384.8 kB / 483.9 MB, free: 3.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.006311, allocations: 8.031 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.006362, allocations: 16.92 kB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.006582, allocations: 187.2 kB / 484.1 MB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.006715, allocations: 222.2 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.006745, allocations: 9.406 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.006959, allocations: 205.9 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006966, allocations: 1.375 kB / 484.6 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.006985, allocations: 4.125 kB / 484.6 MB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.00701, allocations: 8 kB / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.007042, allocations: 13.42 kB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.007562, allocations: 278.5 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.007607, allocations: 23.67 kB / 484.9 MB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.00763, allocations: 13 kB / 484.9 MB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.007655, allocations: 9.109 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.007678, allocations: 39.19 kB / 484.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.007679, allocations: 0 / 484.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001468/0.007826, allocations: 62.62 kB / 485 MB, free: 1.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.007854, allocations: 55.39 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.007993, allocations: 184.4 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.008016, allocations: 25.7 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.008066, allocations: 115 kB / 485.4 MB, free: 1.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.008087, allocations: 23.83 kB / 485.4 MB, free: 1.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.008133, allocations: 29.7 kB / 485.4 MB, free: 1.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.008218, allocations: 331.4 kB / 485.7 MB, free: 1.062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.008237, allocations: 4 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.008301, allocations: 86.73 kB / 485.8 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.008654, allocations: 112.9 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.008658, allocations: 5.625 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/0.008803, allocations: 102.8 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008816, allocations: 9.344 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008822, allocations: 4.078 kB / 486.1 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.008835, allocations: 7.938 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.008915, allocations: 20.89 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.008922, allocations: 11.92 kB / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.008979, allocations: 11.89 kB / 486.1 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.008991, allocations: 10.34 kB / 486.1 MB, free: 0.6133 MB / 442.7 MB 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.764e-05/0.009068, allocations: 120.6 kB / 486.2 MB, free: 496 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.00911, allocations: 11.98 kB / 486.2 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.00924, allocations: 86.95 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009242, allocations: 0 / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.009244, allocations: 3.328 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.009247, allocations: 0 / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.009401, allocations: 97.83 kB / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009404, allocations: 7.984 kB / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.009444, allocations: 16 kB / 486.5 MB, free: 244 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.009447, allocations: 5.75 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.009451, allocations: 0 / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.009452, allocations: 0 / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009453, allocations: 4 kB / 486.5 MB, free: 236 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.009565, allocations: 155.4 kB / 486.6 MB, free: 64 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.009583, allocations: 16.59 kB / 486.6 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.009599, allocations: 8 kB / 486.6 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.009726, allocations: 9.172 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.009741, allocations: 4 kB / 486.7 MB, free: 28 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.009762, allocations: 12.78 kB / 486.7 MB, free: 16 kB / 442.7 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.009835, allocations: 55.7 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009835, allocations: 1.125 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.01013, allocations: 31.94 kB / 486.8 MB, free: 15.93 MB / 458.7 MB 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.0001783/0.0103, allocations: 105.1 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.0104, allocations: 54.14 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01041, allocations: 4.5 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.01043, allocations: 21.28 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.01067, allocations: 33.22 kB / 487 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.01103, allocations: 249.8 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.01108, allocations: 76.27 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.761e-05/0.01115, allocations: 33.55 kB / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.01141, allocations: 116.5 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01141, allocations: 0 / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of Templates: time 0.005309/0.01672, allocations: 2.719 MB / 490.2 MB, free: 12.7 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.676061965059489]