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.0009371/0.0009371, 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.0009564/0.0009564, allocations: 165 kB / 23.02 MB, free: 1.543 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.027/1.027, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7984/0.7984, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.313e-06/1.313e-06, allocations: 0 / 0.5206 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.093e-05, allocations: 5.031 kB / 0.5206 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002798/0.002829, allocations: 1.5 MB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.003745, allocations: 0.5452 MB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.003781, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.00381, allocations: 7.922 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.003998, allocations: 19.81 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.004149, allocations: 35.83 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.004231, allocations: 51.84 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.0043, allocations: 12.48 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.004448, allocations: 28.53 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.004512, allocations: 24.66 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.00453, allocations: 4 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.004579, allocations: 12.59 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.0046, allocations: 7.984 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.004635, allocations: 17.44 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.00475, allocations: 47.78 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004752, allocations: 0 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004753, allocations: 0 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004757, allocations: 0.9375 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB 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.0005112/0.005268, allocations: 381.9 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.005307, allocations: 8.031 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.005485, allocations: 22.08 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005593, allocations: 116.5 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.005607, allocations: 4.375 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.005622, allocations: 5.172 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.005738, allocations: 70.86 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.00575, allocations: 1.469 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005761, allocations: 4.375 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.005772, allocations: 7.938 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.005863, allocations: 13.33 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.006188, allocations: 259.8 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.006384, allocations: 67.09 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.006423, allocations: 16.45 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.006439, allocations: 5.844 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.006561, allocations: 68.98 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.006563, allocations: 0 / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002242/0.006787, allocations: 89.73 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.006835, allocations: 55.41 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.006917, allocations: 167.9 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.006933, allocations: 25.7 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.006973, allocations: 130.9 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006998, allocations: 15.92 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.007033, allocations: 35.34 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.007141, allocations: 494.9 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.007165, allocations: 12.05 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.007184, allocations: 12 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.007237, allocations: 39.81 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007239, allocations: 0 / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.291e-05/0.007332, allocations: 69.52 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.007344, allocations: 4 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007348, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.007363, allocations: 4.656 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.007424, allocations: 13.17 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.007431, allocations: 0 / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.007466, allocations: 4 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007474, allocations: 4 kB / 0.525 GB, free: 13.25 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: 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 6.579e-05/0.00754, allocations: 157.2 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.007553, allocations: 12.44 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.007705, allocations: 94.64 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.00771, allocations: 4 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007713, allocations: 1.219 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007716, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.34e-05/0.00781, allocations: 128.6 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007811, allocations: 0.5 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.007847, allocations: 15.94 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.00785, allocations: 5.625 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.007857, allocations: 3.984 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007858, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.00786, allocations: 4 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.007977, allocations: 126.8 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007989, allocations: 7.938 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.008008, allocations: 7.938 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.008035, allocations: 0 / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.008066, allocations: 8.172 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.008078, allocations: 7.938 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.008116, allocations: 135.2 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008116, allocations: 2.562 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001229/0.008239, allocations: 8 kB / 0.5257 GB, free: 12.47 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: 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 8.778e-05/0.008327, allocations: 105.1 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.00843, allocations: 51.59 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008431, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.008472, allocations: 32.58 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.00859, allocations: 9.891 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.009105, allocations: 155.1 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.00914, allocations: 66.25 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.009179, allocations: 4 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.009221, allocations: 16.48 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.009222, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.002439/0.01166, allocations: 0.7044 MB / 0.5268 GB, free: 11.34 MB / 0.4948 GB " [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.9391793739050627]