Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001272/0.001272, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001164/0.001164, allocations: 169 kB / 24.06 MB, free: 456 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 0.9505/0.9505, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7978/0.7978, allocations: 154.9 MB / 415.9 MB, free: 276 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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5219 GB, free: 456 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.937e-05, allocations: 5.922 kB / 0.5219 GB, free: 452 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002617/0.002636, allocations: 1.539 MB / 0.5234 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.003476, allocations: 492.6 kB / 0.5239 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.003521, allocations: 0 / 0.5239 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.003553, allocations: 7.922 kB / 0.5239 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.003776, allocations: 29.56 kB / 0.5239 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.317e-05/0.003859, allocations: 11.98 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.933e-05/0.003948, allocations: 47.8 kB / 0.524 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.004036, allocations: 15.88 kB / 0.524 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.004232, allocations: 40.64 kB / 0.524 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.00431, allocations: 19.91 kB / 0.524 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.004326, allocations: 5.406 kB / 0.524 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.004338, allocations: 4 kB / 0.5241 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.004359, allocations: 8 kB / 0.5241 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.004395, allocations: 19.91 kB / 0.5241 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.592e-05/0.004481, allocations: 33.25 kB / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004483, allocations: 0 / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004484, allocations: 0 / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004487, allocations: 1.594 kB / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004424/0.004929, allocations: 372.6 kB / 0.5245 GB, free: 13.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.004964, allocations: 12.03 kB / 0.5245 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.005003, allocations: 8.891 kB / 0.5245 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.005102, allocations: 114.9 kB / 0.5246 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005116, allocations: 4.312 kB / 0.5246 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.005127, allocations: 8.359 kB / 0.5246 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.005229, allocations: 50.95 kB / 0.5247 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005238, allocations: 4.188 kB / 0.5247 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005246, allocations: 384 / 0.5247 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.005254, allocations: 8.438 kB / 0.5247 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.00529, allocations: 7.984 kB / 0.5247 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.0056, allocations: 248.9 kB / 0.5249 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.005704, allocations: 47.92 kB / 0.525 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.005737, allocations: 16.2 kB / 0.525 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.005744, allocations: 0 / 0.525 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.005865, allocations: 66.55 kB / 0.525 GB, free: 13.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.005866, allocations: 0 / 0.525 GB, free: 13.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001894/0.006055, allocations: 73.61 kB / 0.5251 GB, free: 13.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.006092, allocations: 56.34 kB / 0.5252 GB, free: 12.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.006187, allocations: 165.9 kB / 0.5253 GB, free: 12.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.006209, allocations: 25.7 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.00626, allocations: 136.4 kB / 0.5255 GB, free: 12.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.006287, allocations: 15.88 kB / 0.5255 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.006326, allocations: 23.38 kB / 0.5255 GB, free: 12.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.006478, allocations: 0.4923 MB / 0.526 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.006497, allocations: 5.031 kB / 0.526 GB, free: 12.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.006513, allocations: 4 kB / 0.526 GB, free: 12.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.006559, allocations: 23.67 kB / 0.526 GB, free: 12.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006561, allocations: 3.25 kB / 0.526 GB, free: 12.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001012/0.006662, allocations: 57.59 kB / 0.5261 GB, free: 11.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.006679, allocations: 11.92 kB / 0.5261 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006683, allocations: 0 / 0.5261 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006695, allocations: 4 kB / 0.5261 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.006762, allocations: 4 kB / 0.5261 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006765, allocations: 0 / 0.5261 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.006814, allocations: 7.938 kB / 0.5261 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.006823, allocations: 7.031 kB / 0.5261 GB, free: 11.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001008/0.006923, allocations: 160.6 kB / 0.5263 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.006944, allocations: 11.89 kB / 0.5263 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.006973, allocations: 8.125 kB / 0.5263 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.006976, allocations: 0 / 0.5263 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006979, allocations: 3.984 kB / 0.5263 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006982, allocations: 0 / 0.5263 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.007094, allocations: 109.2 kB / 0.5264 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007096, allocations: 5.438 kB / 0.5264 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.007128, allocations: 8.438 kB / 0.5264 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.00713, allocations: 0 / 0.5264 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.007138, allocations: 4 kB / 0.5264 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.007142, allocations: 8.438 kB / 0.5264 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007144, allocations: 2.812 kB / 0.5264 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.007287, allocations: 92.42 kB / 0.5265 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.007303, allocations: 3.953 kB / 0.5265 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.007324, allocations: 4 kB / 0.5265 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.007372, allocations: 7.938 kB / 0.5265 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.007401, allocations: 3.984 kB / 0.5265 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.007414, allocations: 4 kB / 0.5265 GB, free: 11.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.007476, allocations: 133.6 kB / 0.5267 GB, free: 11.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007476, allocations: 3.938 kB / 0.5267 GB, free: 11.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.007693, allocations: 16 kB / 0.5267 GB, free: 11.33 MB / 458.7 MB 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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 9.701e-05/0.00779, allocations: 91.25 kB / 0.5268 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.007898, allocations: 31.66 kB / 0.5268 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007899, allocations: 1.75 kB / 0.5268 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.007942, allocations: 27.61 kB / 0.5268 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.0081, allocations: 4 kB / 0.5268 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.008738, allocations: 155.3 kB / 0.527 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.008781, allocations: 60.16 kB / 0.527 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.978e-05/0.008811, allocations: 0 / 0.527 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.008867, allocations: 75.31 kB / 0.5271 GB, free: 10.83 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008868, allocations: 0 / 0.5271 GB, free: 10.83 MB / 458.7 MB Notification: Performance of Templates: time 0.002924/0.01179, allocations: 0.6297 MB / 0.5277 GB, free: 10.25 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.677370386198163]