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.001908/0.001908, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002046/0.002046, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.352/1.352, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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. " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.304e-05, allocations: 3.734 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002992/0.003025, allocations: 1.513 MB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004199, allocations: 484.5 kB / 0.5216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.004241, allocations: 1.812 kB / 0.5216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.004269, allocations: 7.984 kB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.00451, allocations: 27.73 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.74e-05/0.004598, allocations: 13.52 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.004703, allocations: 55.77 kB / 0.5217 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.004799, allocations: 11.94 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.005007, allocations: 35.91 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.005103, allocations: 17.25 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.005125, allocations: 4 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.005139, allocations: 7.938 kB / 0.5218 GB, free: 424 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.005166, allocations: 15.92 kB / 0.5218 GB, free: 408 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.005207, allocations: 8.625 kB / 0.5218 GB, free: 400 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.005321, allocations: 48.52 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.005324, allocations: 0 / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005325, allocations: 5.375 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00533, allocations: 0 / 0.5218 GB, free: 348 kB / 490.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.0006551/0.005985, allocations: 372.2 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.006034, allocations: 13.05 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.00608, allocations: 8.891 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.006226, allocations: 120.6 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.006241, allocations: 3.938 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.006254, allocations: 4.375 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006389, allocations: 54.17 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006397, allocations: 192 / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.006408, allocations: 384 / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006414, allocations: 7.938 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.006481, allocations: 19.98 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.006887, allocations: 271.8 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.007027, allocations: 51.05 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.007079, allocations: 24.16 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.007093, allocations: 4.562 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.007245, allocations: 73.64 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.007246, allocations: 0 / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0002454/0.007491, allocations: 78.64 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.007554, allocations: 63.34 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.007711, allocations: 171.4 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.007734, allocations: 25.7 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.007825, allocations: 138.8 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.007858, allocations: 19.88 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.007914, allocations: 24.06 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.008169, allocations: 0.4884 MB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.008205, allocations: 13.89 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.008236, allocations: 12 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.008302, allocations: 31.69 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.008306, allocations: 4 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001325/0.008439, allocations: 73.56 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008451, allocations: 10.69 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.008458, allocations: 3.984 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.008472, allocations: 0 / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.008544, allocations: 8 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.008548, allocations: 320 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.008599, allocations: 7.922 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.00861, allocations: 4.438 kB / 0.5239 GB, free: 13.97 MB / 0.4948 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 (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.0001288/0.008739, allocations: 166.3 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.008761, allocations: 11.88 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.008788, allocations: 12.12 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.008789, allocations: 0 / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008795, allocations: 4 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.008806, allocations: 0.9375 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.008945, allocations: 124.6 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008946, allocations: 0.8125 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.008977, allocations: 4 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.008981, allocations: 4.594 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.008992, allocations: 4 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.008996, allocations: 4.578 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008997, allocations: 6.906 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.009178, allocations: 108.4 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.009189, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.009209, allocations: 3.938 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.009264, allocations: 11.98 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.009308, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.009323, allocations: 4 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.986e-05/0.009423, allocations: 135.2 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009423, allocations: 3.125 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001785/0.009602, allocations: 8 kB / 0.5245 GB, free: 13.31 MB / 0.4948 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,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 0.0001487/0.009751, allocations: 99.25 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.009888, allocations: 43.61 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.009892, allocations: 4 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/0.009951, allocations: 23.67 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.0101, allocations: 4 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.01046, allocations: 151.9 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.01053, allocations: 67.28 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.01056, allocations: 7.094 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.0106, allocations: 16.48 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.0106, allocations: 0 / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.003338/0.01394, allocations: 0.5675 MB / 0.5255 GB, free: 12.31 MB / 0.4948 GB " [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: 6.2562804518966]