Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0006993/0.0006993, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000994/0.001693, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007586/0.0007586, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001783, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09268/1.096, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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 NFInstanceAPI.mkTop(): time 0.2722/1.013, allocations: 49.13 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.183e-05, allocations: 2.312 kB / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002033/0.002055, allocations: 1.581 MB / 451.6 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.002673, allocations: 0.5518 MB / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.002711, allocations: 0.7656 kB / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.002735, allocations: 7.922 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.002838, allocations: 21.33 kB / 452.1 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.491e-05/0.002933, allocations: 35.83 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.003007, allocations: 45.83 kB / 452.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.003088, allocations: 16.62 kB / 452.2 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.003247, allocations: 36.25 kB / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.003325, allocations: 21.5 kB / 452.3 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.003341, allocations: 4 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.003404, allocations: 12 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.003426, allocations: 14.44 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.003451, allocations: 11.06 kB / 452.3 MB, free: 2.266 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.003549, allocations: 34.44 kB / 452.4 MB, free: 2.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.00356, allocations: 0 / 452.4 MB, free: 2.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003561, allocations: 0 / 452.4 MB, free: 2.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.003568, allocations: 4.875 kB / 452.4 MB, free: 2.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004062/0.003974, allocations: 259.3 kB / 452.6 MB, free: 1.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004011, allocations: 14 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.004166, allocations: 97.98 kB / 452.7 MB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.004237, allocations: 113.7 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.004246, allocations: 384 / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.004256, allocations: 6.156 kB / 452.9 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.22e-05/0.004338, allocations: 62.88 kB / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.004343, allocations: 192 / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.00435, allocations: 1 kB / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004355, allocations: 7.938 kB / 452.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.004381, allocations: 13.88 kB / 452.9 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.004558, allocations: 160.8 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.004674, allocations: 48.97 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.004693, allocations: 20.84 kB / 453.2 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.004703, allocations: 1.219 kB / 453.2 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.149e-05/0.004785, allocations: 59.38 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.004785, allocations: 3.938 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001033/0.004889, allocations: 62.47 kB / 453.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.004914, allocations: 55.41 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.00496, allocations: 106.7 kB / 453.4 MB, free: 1.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.004975, allocations: 26.27 kB / 453.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.005, allocations: 89.41 kB / 453.6 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.005021, allocations: 19.83 kB / 453.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.005049, allocations: 21.7 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.005119, allocations: 318.8 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.00513, allocations: 8.781 kB / 453.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.00514, allocations: 8 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.005172, allocations: 29.88 kB / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005174, allocations: 0 / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.266e-05/0.005226, allocations: 58.39 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.005239, allocations: 7.938 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.005242, allocations: 0.625 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005251, allocations: 0 / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.0053, allocations: 17.3 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005302, allocations: 0 / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.00533, allocations: 0 / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.005336, allocations: 7.984 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.185e-05/0.005388, allocations: 111.6 kB / 454.2 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.005396, allocations: 4.953 kB / 454.2 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.005486, allocations: 77.61 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005489, allocations: 5.062 kB / 454.2 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.005491, allocations: 4 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.005494, allocations: 0 / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.005561, allocations: 82.88 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005562, allocations: 0 / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.005593, allocations: 14.86 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.005602, allocations: 5.375 kB / 454.3 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005604, allocations: 4 kB / 454.3 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.005611, allocations: 7.922 kB / 454.4 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005612, allocations: 0.7812 kB / 454.4 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005612, allocations: 0 / 454.4 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.005693, allocations: 93.03 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.005708, allocations: 5.375 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.005729, allocations: 0 / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.00576, allocations: 15.92 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.005767, allocations: 0.8438 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.452e-05/0.005782, allocations: 16.78 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005782, allocations: 0 / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.739e-05/0.005879, allocations: 16.73 kB / 454.5 MB, free: 15.89 MB / 442.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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.63e-05/0.005955, allocations: 81.3 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.006028, allocations: 32.84 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.006033, allocations: 1.062 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.006073, allocations: 32.78 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.872e-05/0.006151, allocations: 20.59 kB / 454.7 MB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.006904, allocations: 153 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.006936, allocations: 59.84 kB / 454.9 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.006967, allocations: 9.859 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.007016, allocations: 56.09 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007016, allocations: 0 / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.002003/0.009019, allocations: 0.7327 MB / 455.7 MB, free: 14.74 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.504079343751073]