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.001292/0.001292, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001027/0.001027, allocations: 177 kB / 23.49 MB, free: 1.059 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.8504/0.8504, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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 2.074e-06/2.074e-06, allocations: 0 / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.716e-05/3.923e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003219/0.003258, allocations: 1.507 MB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004313, allocations: 0.5393 MB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.004375, allocations: 0 / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.004421, allocations: 4.688 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004721, allocations: 29.25 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.004909, allocations: 31.84 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.005014, allocations: 49.19 kB / 0.5227 GB, free: 72 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005115, allocations: 4 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.005309, allocations: 43.89 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.005393, allocations: 15.97 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.005414, allocations: 7.406 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.005488, allocations: 16.06 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.005511, allocations: 15.88 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.005556, allocations: 11.98 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.00571, allocations: 43.73 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005714, allocations: 4 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005716, allocations: 0 / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005721, allocations: 0 / 0.5229 GB, free: 15.91 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.0006419/0.006363, allocations: 381.6 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.006417, allocations: 8.031 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.006619, allocations: 14.36 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.006753, allocations: 120.5 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006772, allocations: 5.844 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.006786, allocations: 4.375 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.006931, allocations: 70.86 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006941, allocations: 192 / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006954, allocations: 1.312 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.006964, allocations: 3.938 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.007024, allocations: 19.98 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.007403, allocations: 256.8 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.007639, allocations: 64.67 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.007687, allocations: 19.67 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007706, allocations: 4 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.007858, allocations: 76.97 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.00786, allocations: 0.8125 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002469/0.008107, allocations: 85.55 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.008147, allocations: 52.69 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.008264, allocations: 165.9 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.008286, allocations: 25.7 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.008352, allocations: 132.2 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.008387, allocations: 19.78 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.008439, allocations: 27.44 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.008644, allocations: 0.4884 MB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.008681, allocations: 13 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.008708, allocations: 8 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.008784, allocations: 38.2 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.008789, allocations: 4 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.008924, allocations: 77.66 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.008941, allocations: 4 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008948, allocations: 0 / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.008967, allocations: 3.984 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.009042, allocations: 10.75 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.009049, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.009098, allocations: 4 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.009111, allocations: 3.984 kB / 0.525 GB, free: 13.54 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.0001102/0.009221, allocations: 160.6 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.009238, allocations: 7.938 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.009446, allocations: 93.67 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009448, allocations: 1.125 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.009453, allocations: 0 / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.009457, allocations: 0 / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.00958, allocations: 133.5 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009582, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.00964, allocations: 12.88 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.009646, allocations: 11.92 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.00966, allocations: 4 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009662, allocations: 0.5 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009663, allocations: 0.6875 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009826, allocations: 124.3 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.00984, allocations: 5.156 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.009863, allocations: 7.938 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.009908, allocations: 0 / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.009952, allocations: 12.64 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.009967, allocations: 3.984 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.01002, allocations: 124.4 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01002, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002202/0.01024, allocations: 19.94 kB / 0.5257 GB, free: 12.77 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.0001078/0.01034, allocations: 101.7 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01049, allocations: 47.59 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01049, allocations: 0 / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.01055, allocations: 35.61 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.01073, allocations: 5.719 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.01139, allocations: 165.1 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.01144, allocations: 55.36 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01148, allocations: 7.984 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.01153, allocations: 17.03 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.01153, allocations: 1.438 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003171/0.01471, allocations: 0.7153 MB / 0.5268 GB, free: 11.63 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.9307602760381997]