Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.000907/0.000907, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009295/0.0009295, allocations: 173 kB / 24.06 MB, free: 452 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.9204/0.9204, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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.7376/0.7376, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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 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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.698e-05, allocations: 6.062 kB / 0.5216 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002234/0.002261, allocations: 1.639 MB / 0.5232 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.003164, allocations: 0.5794 MB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003224, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.003259, allocations: 7.922 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.003512, allocations: 45.56 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003681, allocations: 53.09 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003797, allocations: 107.6 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003904, allocations: 19.98 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.00409, allocations: 67.81 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.004184, allocations: 45.27 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.004206, allocations: 11.94 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.004257, allocations: 12 kB / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.004284, allocations: 20.75 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.004321, allocations: 27.92 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004462, allocations: 88.48 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.004466, allocations: 4 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004466, allocations: 2.781 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004471, allocations: 0 / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005172/0.004988, allocations: 432.2 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005023, allocations: 8.031 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.005161, allocations: 25.34 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.00526, allocations: 125 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005275, allocations: 8.312 kB / 0.5248 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.005286, allocations: 9.469 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.005402, allocations: 80.39 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.005411, allocations: 1 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005422, allocations: 8.375 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.005429, allocations: 3.938 kB / 0.5249 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.005475, allocations: 24.59 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.005832, allocations: 301.6 kB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.006011, allocations: 83.17 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.006048, allocations: 36.05 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006063, allocations: 1.031 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.006194, allocations: 92.27 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.006196, allocations: 0 / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002117/0.006408, allocations: 118.5 kB / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.006443, allocations: 59.34 kB / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.006527, allocations: 169.9 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.006545, allocations: 26.33 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.006601, allocations: 148.3 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.006637, allocations: 31.88 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.006679, allocations: 35.36 kB / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.006808, allocations: 0.4923 MB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.006835, allocations: 12.61 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.006859, allocations: 21.48 kB / 0.5265 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.006919, allocations: 43.66 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006921, allocations: 0 / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001115/0.007032, allocations: 95.88 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.007048, allocations: 12.91 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.007053, allocations: 0 / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.007061, allocations: 0 / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.007132, allocations: 17.05 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.007135, allocations: 4 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.007181, allocations: 11.95 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007189, allocations: 0.9688 kB / 0.5266 GB, free: 12.49 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.309e-05/0.007272, allocations: 165.3 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.007288, allocations: 7.938 kB / 0.5268 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.007457, allocations: 128.7 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.00746, allocations: 4 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.007462, allocations: 0 / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007465, allocations: 0 / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.007566, allocations: 133.1 kB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007568, allocations: 0 / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.007616, allocations: 20 kB / 0.5271 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007619, allocations: 6.812 kB / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.007627, allocations: 3.984 kB / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007628, allocations: 0 / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007629, allocations: 0 / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.007783, allocations: 144.3 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.007799, allocations: 11.95 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.007818, allocations: 7.938 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.007859, allocations: 3.984 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.007897, allocations: 13.61 kB / 0.5273 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.007909, allocations: 7.984 kB / 0.5273 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.007958, allocations: 142.8 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007958, allocations: 0 / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001341/0.008092, allocations: 29.02 kB / 0.5274 GB, free: 11.62 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001067/0.008199, allocations: 103.8 kB / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.008311, allocations: 61.39 kB / 0.5276 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008313, allocations: 0.6562 kB / 0.5276 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.00836, allocations: 39.61 kB / 0.5276 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.008493, allocations: 25.94 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.009089, allocations: 232.1 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.009125, allocations: 63.34 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.009172, allocations: 14.95 kB / 0.528 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.009234, allocations: 74.2 kB / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.009235, allocations: 4 kB / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.002996/0.01223, allocations: 1.193 MB / 0.5292 GB, free: 9.832 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5111612123437226]