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.0006919/0.0006919, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007082/0.0007082, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8007/0.8007, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-531:190: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-531:198: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.6667/0.6667, allocations: 154.5 MB / 414.5 MB, free: 0.8594 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 1.834e-06/1.834e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.702e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002072/0.002099, allocations: 1.475 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.002769, allocations: 0.5258 MB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.002807, allocations: 4 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.00284, allocations: 7.922 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.003042, allocations: 19.86 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.003175, allocations: 39.83 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.003249, allocations: 47.84 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.003332, allocations: 0 / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.003468, allocations: 43.83 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.003528, allocations: 15.98 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.003543, allocations: 8 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.065e-05/0.003583, allocations: 12 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.003602, allocations: 19.91 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.003634, allocations: 11.98 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003747, allocations: 55.8 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.003749, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00375, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003754, allocations: 4 kB / 0.6215 GB, free: 10.93 MB / 0.5886 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.0004421/0.004196, allocations: 278.2 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.00423, allocations: 13.47 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.004335, allocations: 12.92 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.004416, allocations: 113.7 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.004431, allocations: 384 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004442, allocations: 4.375 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.004536, allocations: 58.22 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004544, allocations: 192 / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004553, allocations: 384 / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004558, allocations: 3.938 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.00461, allocations: 31.91 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.00488, allocations: 216.5 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.005052, allocations: 66.66 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.005082, allocations: 20.86 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.005096, allocations: 0 / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.005224, allocations: 75.25 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.005225, allocations: 4 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0001993/0.005424, allocations: 85.67 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.005461, allocations: 59.39 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.25e-05/0.005514, allocations: 101.9 kB / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005523, allocations: 25.7 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.005555, allocations: 92.09 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.005578, allocations: 15.83 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.005608, allocations: 21.72 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.005679, allocations: 318.8 kB / 0.6231 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.005703, allocations: 15.94 kB / 0.6231 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.005724, allocations: 15.98 kB / 0.6231 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.005773, allocations: 41.11 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005775, allocations: 0 / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.464e-05/0.00586, allocations: 85.56 kB / 0.6232 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005871, allocations: 8 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.005875, allocations: 0 / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005886, allocations: 0 / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.005937, allocations: 15.92 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005942, allocations: 0 / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.005978, allocations: 8 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.005984, allocations: 0 / 0.6233 GB, free: 8.98 MB / 0.5886 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 7.011e-05/0.006055, allocations: 115.1 kB / 0.6234 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.006063, allocations: 7.938 kB / 0.6234 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.00621, allocations: 105.7 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006213, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006216, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.006221, allocations: 3.984 kB / 0.6235 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.006296, allocations: 125.2 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006297, allocations: 0 / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.00633, allocations: 8.094 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.006335, allocations: 11.88 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.006343, allocations: 4 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006344, allocations: 0 / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.006348, allocations: 3.984 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.006451, allocations: 121 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006461, allocations: 11.88 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.006475, allocations: 7.938 kB / 0.6238 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.127e-05/0.006506, allocations: 0 / 0.6238 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.006539, allocations: 11.98 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.006551, allocations: 4 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.786e-05/0.006579, allocations: 83.27 kB / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006579, allocations: 0 / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001252/0.006704, allocations: 12 kB / 0.6239 GB, free: 8.289 MB / 0.5886 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.607e-05/0.00679, allocations: 103.2 kB / 0.624 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.00689, allocations: 43.98 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006891, allocations: 0 / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.006931, allocations: 31.92 kB / 0.624 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.007047, allocations: 7.938 kB / 0.624 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.007317, allocations: 170.5 kB / 0.6242 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.007361, allocations: 67.67 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.007395, allocations: 16.48 kB / 0.6243 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.007395, allocations: 3.938 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of Templates: time 0.001631/0.009026, allocations: 0.8519 MB / 0.6251 GB, free: 6.945 MB / 0.5886 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: 4.806695831939578] Failed to read output from testmodel.py, exit status != 0: 0.014967525377869606 0.023049743 0.017664499 Calling exit ...