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.0007581/0.0007581, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009003/0.001658, allocations: 440 kB / 10.41 MB, free: 284 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.0007848/0.0007848, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008893/0.001674, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9599/0.9599, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08852/1.048, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.782/0.782, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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.267/1.049, allocations: 49.05 MB / 447.8 MB, free: 6.613 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.472e-06/1.472e-06, allocations: 0 / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.269e-05, allocations: 10.25 kB / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00236/0.002383, allocations: 1.589 MB / 450.8 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.003064, allocations: 494.9 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.003108, allocations: 4 kB / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.004159, allocations: 4.438 kB / 451.3 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.004339, allocations: 25.77 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.742e-05/0.004426, allocations: 21.64 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.004527, allocations: 53.77 kB / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.004607, allocations: 7.984 kB / 451.4 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.004797, allocations: 43.23 kB / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.004886, allocations: 22.48 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.004903, allocations: 4.984 kB / 451.4 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.004916, allocations: 4 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.00494, allocations: 6.812 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.004974, allocations: 16.81 kB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.005077, allocations: 31.84 kB / 451.5 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.005091, allocations: 0.625 kB / 451.5 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005092, allocations: 4 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.005106, allocations: 1.375 kB / 451.5 MB, free: 3.012 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.0005274/0.005633, allocations: 258.6 kB / 451.8 MB, free: 2.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.005677, allocations: 8.031 kB / 451.8 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.005715, allocations: 5.562 kB / 451.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.005822, allocations: 114.2 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.00584, allocations: 4.375 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.005854, allocations: 2.062 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.005979, allocations: 56.12 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005988, allocations: 4.125 kB / 451.9 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005996, allocations: 384 / 451.9 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.006007, allocations: 5.781 kB / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.00604, allocations: 15.92 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.006295, allocations: 152.3 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.006385, allocations: 30.56 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.006411, allocations: 19.73 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.006418, allocations: 0 / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.006542, allocations: 59.42 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.006544, allocations: 1.344 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001502/0.006694, allocations: 57.61 kB / 452.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.006737, allocations: 55.41 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.006826, allocations: 114.7 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.006847, allocations: 26.33 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.006884, allocations: 88.78 kB / 452.6 MB, free: 1.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.006916, allocations: 15.84 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.006953, allocations: 24.58 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.007053, allocations: 318.8 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.007069, allocations: 4 kB / 452.9 MB, free: 1.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.007082, allocations: 4.375 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.007123, allocations: 28.84 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007125, allocations: 0 / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.038e-05/0.007205, allocations: 49.67 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.00722, allocations: 8.719 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007224, allocations: 0.9062 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007237, allocations: 0 / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.007313, allocations: 12.47 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007316, allocations: 4 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.007354, allocations: 5.047 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.007362, allocations: 3.984 kB / 453 MB, free: 1.344 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.653e-05/0.007429, allocations: 114.5 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.007441, allocations: 4 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.007464, allocations: 12.69 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.007466, allocations: 1.656 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.007468, allocations: 0 / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007471, allocations: 4.562 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.04e-05/0.007551, allocations: 73.88 kB / 453.2 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.007554, allocations: 4.625 kB / 453.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.007577, allocations: 4.625 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007587, allocations: 3.984 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00759, allocations: 0.5938 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.007597, allocations: 7.938 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007598, allocations: 0.8125 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007599, allocations: 0 / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.007688, allocations: 78.95 kB / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.007705, allocations: 7.984 kB / 453.3 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.007742, allocations: 4 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.007768, allocations: 4.594 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.007782, allocations: 11.98 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.007811, allocations: 9.672 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007811, allocations: 0 / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.007955, allocations: 9 kB / 453.4 MB, free: 0.9492 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 9.898e-05/0.008054, allocations: 76.95 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.008133, allocations: 30.16 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.008141, allocations: 4 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.008178, allocations: 24.72 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.949e-05/0.008268, allocations: 16.67 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.009666, allocations: 154 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.009701, allocations: 60.16 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.009731, allocations: 4 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.009784, allocations: 52.53 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009785, allocations: 0 / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of Templates: time 0.002721/0.01251, allocations: 0.5959 MB / 454.4 MB, free: 15.93 MB / 442.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.3929047593846917]