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.001403/0.001403, allocations: 88.72 kB / 19.44 MB, free: 352 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.001698/0.001698, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 178] 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 1.248/1.248, allocations: 154.8 MB / 414.3 MB, free: 396 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 178] 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.613e-06/1.613e-06, allocations: 0 / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.734e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002815/0.002843, allocations: 1.47 MB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003925, allocations: 0.5284 MB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.003961, allocations: 0 / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.003995, allocations: 7.875 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.0042, allocations: 24.41 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.004346, allocations: 32.36 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.004441, allocations: 56.77 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.004513, allocations: 4 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.004689, allocations: 41.42 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.004763, allocations: 19.97 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.004782, allocations: 7.938 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.004827, allocations: 8 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.004848, allocations: 8.922 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.004892, allocations: 19.92 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.005027, allocations: 53.27 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.005032, allocations: 4 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.005036, allocations: 3.984 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.00504, allocations: 0 / 0.5221 GB, free: 8 kB / 490.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.0006367/0.005676, allocations: 275.4 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005713, allocations: 12.72 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.005897, allocations: 14.2 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.006041, allocations: 121.6 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.006055, allocations: 384 / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.006072, allocations: 9.422 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.006206, allocations: 58.17 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.006213, allocations: 192 / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006225, allocations: 0.9062 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.006231, allocations: 5.906 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.006311, allocations: 23.98 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.00669, allocations: 212.5 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.006948, allocations: 70.61 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.007001, allocations: 22.31 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.007017, allocations: 0 / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.007205, allocations: 79.25 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007206, allocations: 0 / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.007489, allocations: 99.03 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.007534, allocations: 51.41 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.007631, allocations: 105.8 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.007654, allocations: 25.7 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.00771, allocations: 85.11 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.007739, allocations: 11.91 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.007786, allocations: 23.2 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.007966, allocations: 318.8 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.008006, allocations: 15.98 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.008039, allocations: 12 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.008119, allocations: 37.5 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008121, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001552/0.008276, allocations: 94.59 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008288, allocations: 4 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.008292, allocations: 1.125 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.008305, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.008396, allocations: 11.98 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008402, allocations: 0.625 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.008473, allocations: 7.938 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.008486, allocations: 5.609 kB / 0.5238 GB, free: 14.07 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 0.0001022/0.008589, allocations: 113.8 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.00861, allocations: 7.938 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.008829, allocations: 115.9 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008831, allocations: 256 / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.008834, allocations: 0 / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008839, allocations: 4 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.008975, allocations: 117.3 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008976, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.00904, allocations: 18.38 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.009048, allocations: 3.938 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.00906, allocations: 3.984 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009061, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009062, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.009285, allocations: 121 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.0093, allocations: 7.953 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.009319, allocations: 5.906 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.009391, allocations: 7.984 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.00943, allocations: 4 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.009445, allocations: 7.984 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.009505, allocations: 83.28 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009505, allocations: 1.031 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001906/0.009696, allocations: 12 kB / 0.5244 GB, free: 13.39 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 0.0001203/0.009816, allocations: 96.19 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.009959, allocations: 55.16 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.009961, allocations: 0 / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.01003, allocations: 31.92 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.01018, allocations: 4 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.01056, allocations: 156.3 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.01064, allocations: 71.2 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.01069, allocations: 11.25 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.01074, allocations: 20.48 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01074, allocations: 0 / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.003486/0.01422, allocations: 0.6843 MB / 0.5255 GB, free: 12.28 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664246432017535]