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.0008629/0.0008629, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00105/0.00105, allocations: 173 kB / 23.36 MB, free: 1.133 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7664/0.7664, allocations: 154.9 MB / 415.1 MB, free: 244 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.453e-06/1.453e-06, allocations: 0 / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.206e-05, allocations: 2.312 kB / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001957/0.001979, allocations: 1.541 MB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.002607, allocations: 0.4899 MB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.002639, allocations: 0.8438 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.002664, allocations: 3.938 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.002849, allocations: 25.28 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.87e-05/0.002917, allocations: 24.62 kB / 482.5 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.003, allocations: 54.59 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.638e-05/0.003066, allocations: 8.609 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.003221, allocations: 37.62 kB / 482.6 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.003288, allocations: 23.91 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.0033, allocations: 0 / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.003309, allocations: 4 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.003325, allocations: 8 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.003352, allocations: 21.78 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.151e-05/0.003423, allocations: 31.91 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003425, allocations: 0 / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003426, allocations: 0 / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003429, allocations: 0 / 482.6 MB, free: 4.34 MB / 442.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.0003211/0.00375, allocations: 252.9 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.003779, allocations: 9.219 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.003807, allocations: 8.938 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.003884, allocations: 121.6 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003895, allocations: 3.219 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.003905, allocations: 8.375 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.003976, allocations: 55.56 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003981, allocations: 192 / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.003987, allocations: 1 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003992, allocations: 3.938 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.004015, allocations: 12.62 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.004181, allocations: 153.2 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.004236, allocations: 34.62 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.004253, allocations: 14.42 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.004258, allocations: 0 / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.004331, allocations: 63.39 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.004332, allocations: 4 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 9.918e-05/0.004431, allocations: 58.47 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.004458, allocations: 51.41 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.00451, allocations: 115.7 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.004523, allocations: 25.7 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.004546, allocations: 84.14 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.004566, allocations: 20.45 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.004591, allocations: 27.02 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.004796, allocations: 314.8 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.004807, allocations: 4 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.004819, allocations: 7.984 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.004847, allocations: 25.42 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004848, allocations: 4 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.649e-05/0.004895, allocations: 47.34 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.004905, allocations: 7.938 kB / 484.2 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.00491, allocations: 7.938 kB / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.00492, allocations: 1.062 kB / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.004961, allocations: 8 kB / 484.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004964, allocations: 0.9062 kB / 484.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.004991, allocations: 11.94 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.004997, allocations: 4 kB / 484.2 MB, free: 2.664 MB / 442.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 4.913e-05/0.005046, allocations: 110.5 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.005053, allocations: 4.594 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.005068, allocations: 12.06 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005069, allocations: 1.438 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.00507, allocations: 4 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005075, allocations: 3.984 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.451e-05/0.005129, allocations: 70.67 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.00513, allocations: 0 / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.005142, allocations: 7.984 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.005143, allocations: 1.438 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005148, allocations: 4 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005149, allocations: 0 / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00515, allocations: 4.5 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.079e-05/0.005201, allocations: 73.06 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005208, allocations: 1.156 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.00522, allocations: 7.922 kB / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.005238, allocations: 4 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.00526, allocations: 8.875 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.005268, allocations: 7.984 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.258e-05/0.005281, allocations: 13.78 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005281, allocations: 0 / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.058e-05/0.005372, allocations: 12.62 kB / 484.5 MB, free: 2.277 MB / 442.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 6.516e-05/0.005437, allocations: 85.03 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.471e-05/0.005492, allocations: 25.52 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.005494, allocations: 4 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/0.005518, allocations: 26.2 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.76e-05/0.005576, allocations: 4 kB / 484.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.005992, allocations: 146 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.006021, allocations: 60.06 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.006042, allocations: 5.031 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.006077, allocations: 51.38 kB / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006078, allocations: 0.5312 kB / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of Templates: time 0.001835/0.007913, allocations: 0.6241 MB / 485.6 MB, free: 1.266 MB / 442.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.6819657352752984]