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.0009782/0.0009782, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001667/0.001667, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.7658/0.7658, allocations: 154.9 MB / 415.9 MB, free: 236 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.563e-06/1.563e-06, allocations: 0 / 0.5219 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.34e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002832/0.002855, allocations: 1.503 MB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.003847, allocations: 0.5384 MB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.003893, allocations: 0 / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.003925, allocations: 2.906 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.004152, allocations: 27.78 kB / 0.5239 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.004306, allocations: 35.83 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.004394, allocations: 47.8 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.004483, allocations: 7.984 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.00465, allocations: 39.91 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004733, allocations: 24.47 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.004752, allocations: 4.562 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.004802, allocations: 8 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.004826, allocations: 12.81 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.004862, allocations: 15.94 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.00499, allocations: 40.38 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004993, allocations: 1.5 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004993, allocations: 4 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004997, allocations: 0 / 0.5242 GB, free: 15.18 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.0003986/0.005396, allocations: 385.4 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.005429, allocations: 13.44 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.00554, allocations: 8.938 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.005614, allocations: 128.4 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005623, allocations: 1.531 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.005634, allocations: 4.375 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.005713, allocations: 58.94 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.005719, allocations: 4.812 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.005726, allocations: 384 / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00573, allocations: 9.219 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.005759, allocations: 11.98 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.005979, allocations: 252.3 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.006104, allocations: 60.56 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.006401, allocations: 15.69 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.006412, allocations: 4.688 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.744e-05/0.0065, allocations: 72.91 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.006501, allocations: 1.844 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001411/0.006642, allocations: 77.62 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.006667, allocations: 51.41 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.006726, allocations: 165.9 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.006742, allocations: 25.7 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.006777, allocations: 132.8 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.006799, allocations: 15.84 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.006829, allocations: 31.34 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.006929, allocations: 496.1 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.006945, allocations: 7.984 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.006958, allocations: 9.25 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.006998, allocations: 35.66 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007, allocations: 0 / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.362e-05/0.007074, allocations: 58.2 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007086, allocations: 11.94 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.00709, allocations: 4.484 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.007097, allocations: 1.031 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.007145, allocations: 8 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007149, allocations: 4.172 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.007181, allocations: 1.219 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.007188, allocations: 7.984 kB / 0.5262 GB, free: 12.86 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.298e-05/0.007251, allocations: 161.1 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.007262, allocations: 7.938 kB / 0.5264 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.00738, allocations: 95.48 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007382, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.007383, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007386, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.007464, allocations: 119.6 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007465, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.007498, allocations: 8 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.007499, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007506, allocations: 7.984 kB / 0.5266 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.007508, allocations: 7.938 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007509, allocations: 0 / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.463e-05/0.007604, allocations: 119 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.007615, allocations: 11.88 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.007628, allocations: 0 / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.007659, allocations: 7.938 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.007685, allocations: 12.23 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.007695, allocations: 0 / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.00773, allocations: 127.2 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00773, allocations: 1.031 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001211/0.007851, allocations: 12 kB / 0.5269 GB, free: 12.12 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.633e-05/0.007937, allocations: 108.1 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/0.00801, allocations: 38.84 kB / 0.5271 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008011, allocations: 0 / 0.5271 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.008045, allocations: 35.55 kB / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.008154, allocations: 8 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.008562, allocations: 162 kB / 0.5273 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.809e-05/0.00859, allocations: 63.34 kB / 0.5273 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.008624, allocations: 6.75 kB / 0.5273 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.008674, allocations: 78.19 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.008675, allocations: 4 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.00219/0.01087, allocations: 0.7671 MB / 0.5281 GB, free: 10.87 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.5661619948223233]