Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001115/0.001115, allocations: 92.22 kB / 19.65 MB, free: 280 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.001316/0.001316, allocations: 165 kB / 23.02 MB, free: 1.555 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.079/1.079, allocations: 177.1 MB / 203.4 MB, free: 5.668 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.8501/0.8501, allocations: 154.8 MB / 414.7 MB, free: 0.5195 MB / 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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.5206 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.069e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002373/0.002404, allocations: 1.655 MB / 0.5222 GB, free: 180 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.003299, allocations: 0.5786 MB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.003359, allocations: 0 / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.003396, allocations: 5.219 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.003684, allocations: 48.97 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.003872, allocations: 47.81 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.003999, allocations: 112.3 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.00412, allocations: 23.91 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004319, allocations: 73.56 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004424, allocations: 39.88 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.004449, allocations: 8 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.004504, allocations: 16 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.004532, allocations: 30.05 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.00458, allocations: 23.98 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004736, allocations: 83.7 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.004741, allocations: 7.938 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004742, allocations: 0 / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.004746, allocations: 0 / 0.5233 GB, free: 15.09 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.0005701/0.005316, allocations: 425.7 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.005361, allocations: 9 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.005513, allocations: 28.83 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.005633, allocations: 129.4 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.00565, allocations: 4.375 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.005668, allocations: 9.312 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.005817, allocations: 88.81 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005828, allocations: 192 / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.00584, allocations: 0.875 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.005851, allocations: 8.625 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.005917, allocations: 35.91 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.006491, allocations: 316.8 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.006707, allocations: 95.61 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.006759, allocations: 35.67 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.006782, allocations: 5.781 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.006921, allocations: 89 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.006922, allocations: 0 / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002542/0.007177, allocations: 136.2 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.007209, allocations: 53.12 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.007299, allocations: 177.9 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.007316, allocations: 25.7 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.007371, allocations: 147 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.007405, allocations: 31.88 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.007445, allocations: 32.84 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.007555, allocations: 0.4884 MB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.007594, allocations: 15.98 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.007622, allocations: 15.98 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.007697, allocations: 64.2 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.0077, allocations: 0 / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001256/0.007826, allocations: 105.9 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.00784, allocations: 6.812 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007845, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.007861, allocations: 2.719 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.007934, allocations: 23.98 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007939, allocations: 0 / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.007984, allocations: 7.953 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.007996, allocations: 7.984 kB / 0.5258 GB, free: 12.32 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.258e-05/0.008079, allocations: 168.5 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.008097, allocations: 10.75 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.008285, allocations: 126 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.008289, allocations: 4 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008292, allocations: 0 / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.008298, allocations: 3.984 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.008403, allocations: 152.5 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.008405, allocations: 4 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.008454, allocations: 20.88 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008457, allocations: 0 / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008466, allocations: 0.9375 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.00847, allocations: 7.984 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008471, allocations: 0 / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.008633, allocations: 161.6 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.008648, allocations: 7.953 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.008672, allocations: 0 / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.008714, allocations: 13.55 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.00876, allocations: 7.984 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.008775, allocations: 8 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.008827, allocations: 139.1 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008827, allocations: 4 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001351/0.008962, allocations: 28.55 kB / 0.5266 GB, free: 11.4 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.0001017/0.009063, allocations: 100.5 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.009206, allocations: 73.59 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009207, allocations: 1.406 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.009266, allocations: 47.66 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.009396, allocations: 22.72 kB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.01012, allocations: 228.6 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.01015, allocations: 63.34 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.0102, allocations: 11.34 kB / 0.5271 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.01024, allocations: 20.48 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01024, allocations: 0 / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.002974/0.01322, allocations: 1.099 MB / 0.5282 GB, free: 9.758 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0934102409519255]