Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006827/0.0006827, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001752, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006978/0.0006978, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008872/0.001585, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08884/1.135, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8198/0.8198, allocations: 154.6 MB / 398.5 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3036/1.123, allocations: 49.04 MB / 447.6 MB, free: 6.719 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.069e-05, allocations: 3.578 kB / 448.9 MB, free: 5.414 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003405/0.003425, allocations: 1.589 MB / 450.5 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.004314, allocations: 498.2 kB / 451 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.00436, allocations: 0 / 451 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.004387, allocations: 0 / 451 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.004565, allocations: 32.88 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.411e-05/0.004649, allocations: 16.42 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.004772, allocations: 59.98 kB / 451.1 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.004867, allocations: 11.98 kB / 451.1 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.005095, allocations: 38.48 kB / 451.1 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.005186, allocations: 21.44 kB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005204, allocations: 10.75 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.005218, allocations: 4 kB / 451.2 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.005236, allocations: 8 kB / 451.2 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.005271, allocations: 11.94 kB / 451.2 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.005354, allocations: 27.92 kB / 451.2 MB, free: 3.156 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.005369, allocations: 0 / 451.2 MB, free: 3.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00537, allocations: 0 / 451.2 MB, free: 3.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.005386, allocations: 0 / 451.2 MB, free: 3.156 MB / 426.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.0004235/0.005809, allocations: 264.1 kB / 451.5 MB, free: 2.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005842, allocations: 12.03 kB / 451.5 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.005871, allocations: 0.9375 kB / 451.5 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.00597, allocations: 115.8 kB / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.005984, allocations: 384 / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.005993, allocations: 4.375 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.006095, allocations: 59.58 kB / 451.7 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006103, allocations: 192 / 451.7 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006112, allocations: 8.312 kB / 451.7 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.006119, allocations: 4.531 kB / 451.7 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.006148, allocations: 8.609 kB / 451.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.00637, allocations: 157.5 kB / 451.8 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.006441, allocations: 39.38 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.006461, allocations: 11.64 kB / 451.9 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.00647, allocations: 4 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.006581, allocations: 55.47 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.006582, allocations: 0 / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001359/0.006718, allocations: 65.61 kB / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.00677, allocations: 55.34 kB / 452.1 MB, free: 2.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.006846, allocations: 118.7 kB / 452.2 MB, free: 2.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.00687, allocations: 26.61 kB / 452.2 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.006902, allocations: 80.14 kB / 452.3 MB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.006935, allocations: 21.53 kB / 452.3 MB, free: 1.945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.00697, allocations: 17.7 kB / 452.3 MB, free: 1.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.007062, allocations: 314.8 kB / 452.6 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.007078, allocations: 8 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.00709, allocations: 8 kB / 452.6 MB, free: 1.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.007129, allocations: 21.7 kB / 452.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.007131, allocations: 0 / 452.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.213e-05/0.007203, allocations: 52.27 kB / 452.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.007221, allocations: 15.92 kB / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.007228, allocations: 0 / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.00724, allocations: 0 / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.007315, allocations: 8.531 kB / 452.7 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.007317, allocations: 0.8125 kB / 452.7 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.007349, allocations: 7.953 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.007357, allocations: 5 kB / 452.7 MB, free: 1.477 MB / 426.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 6.052e-05/0.007417, allocations: 109.8 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.007427, allocations: 4.625 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.007449, allocations: 12.06 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007452, allocations: 5.219 kB / 452.9 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.007455, allocations: 0 / 452.9 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007458, allocations: 0 / 452.9 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.227e-05/0.00753, allocations: 74.42 kB / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007531, allocations: 0 / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.007551, allocations: 5.562 kB / 453 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.007562, allocations: 11.97 kB / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007564, allocations: 0 / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.007571, allocations: 5.312 kB / 453 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007573, allocations: 8.594 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007574, allocations: 0 / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.594e-05/0.00764, allocations: 70.28 kB / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007652, allocations: 4 kB / 453.1 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.007679, allocations: 3.984 kB / 453.1 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.007704, allocations: 12.53 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.007711, allocations: 0 / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.703e-05/0.007728, allocations: 18.78 kB / 453.1 MB, free: 1.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007728, allocations: 0 / 453.1 MB, free: 1.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.636e-05/0.007824, allocations: 8 kB / 453.1 MB, free: 1.09 MB / 426.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 8.094e-05/0.007905, allocations: 76.42 kB / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.007973, allocations: 33.94 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.007978, allocations: 0 / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.008, allocations: 16.84 kB / 453.2 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.965e-05/0.008069, allocations: 23.36 kB / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.009099, allocations: 158.6 kB / 453.4 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.009139, allocations: 56.39 kB / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.009168, allocations: 4 kB / 453.5 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.009213, allocations: 55.89 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009213, allocations: 1.094 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of Templates: time 0.002067/0.01128, allocations: 0.5974 MB / 454.1 MB, free: 76 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6188122667372227]