Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007551/0.00755, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8702/0.8702, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.61 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1954, allocations: 80.22 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006786/0.2022, allocations: 4.189 MB / 0.6638 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6915/0.8937, allocations: 150.5 MB / 0.8107 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.8947, allocations: 17.41 kB / 0.8107 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.8953, allocations: 167.4 kB / 0.8109 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.897, allocations: 481.1 kB / 0.8114 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.8989, allocations: 0.8048 MB / 0.8122 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.9004, allocations: 1.222 MB / 0.8133 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.9013, allocations: 0.6955 MB / 0.814 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.9018, allocations: 467.6 kB / 0.8145 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.9024, allocations: 495.7 kB / 0.8149 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.9025, allocations: 114.6 kB / 0.8151 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009516/0.9035, allocations: 485.6 kB / 0.8155 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.9037, allocations: 290.6 kB / 0.8158 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.9042, allocations: 0.541 MB / 0.8163 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.9059, allocations: 1.58 MB / 0.8179 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.906, allocations: 0 / 0.8179 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.906, allocations: 0 / 0.8179 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.906, allocations: 4 kB / 0.8179 GB, free: 10.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002343/0.9083, allocations: 1.39 MB / 0.8192 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.9084, allocations: 7.844 kB / 0.8192 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.9102, allocations: 294.7 kB / 0.8195 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.9114, allocations: 0.7579 MB / 0.8203 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.9115, allocations: 69.41 kB / 0.8203 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9116, allocations: 85.59 kB / 0.8204 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.9137, allocations: 1.009 MB / 0.8214 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.9137, allocations: 0 / 0.8214 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/0.9138, allocations: 37.5 kB / 0.8214 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.9138, allocations: 23.81 kB / 0.8214 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.9161, allocations: 1.222 MB / 0.8226 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.9207, allocations: 2.541 MB / 0.8251 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.9233, allocations: 0.9318 MB / 0.826 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/0.9241, allocations: 340.4 kB / 0.8264 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.9242, allocations: 33.23 kB / 0.8264 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.9252, allocations: 493.7 kB / 0.8269 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.9252, allocations: 0 / 0.8269 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75): time 0.003626/0.9288, allocations: 1.231 MB / 0.8281 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.929, allocations: 192.8 kB / 0.8282 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.9298, allocations: 0.6001 MB / 0.8288 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.9299, allocations: 39.33 kB / 0.8289 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.9303, allocations: 403.9 kB / 0.8293 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.9305, allocations: 245.9 kB / 0.8295 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.9308, allocations: 155.8 kB / 0.8296 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9309, allocations: 388.2 kB / 0.83 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/0.9317, allocations: 292.7 kB / 0.8303 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.9325, allocations: 380.1 kB / 0.8306 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.934, allocations: 0.6527 MB / 0.8313 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9341, allocations: 0 / 0.8313 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002388/0.9364, allocations: 0.8886 MB / 0.8322 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9365, allocations: 5.031 kB / 0.8322 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.9365, allocations: 3.984 kB / 0.8322 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.9371, allocations: 82.19 kB / 0.8322 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.9379, allocations: 173.7 kB / 0.8324 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.9401, allocations: 1.627 MB / 0.834 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.941, allocations: 105 kB / 0.8341 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.941, allocations: 38.59 kB / 0.8341 GB, free: 14.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004445/0.9415, allocations: 263.5 kB / 0.8344 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.9416, allocations: 76.44 kB / 0.8345 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.9443, allocations: 1.099 MB / 0.8355 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.9443, allocations: 7.75 kB / 0.8355 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9444, allocations: 3.938 kB / 0.8355 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.9444, allocations: 9.766 kB / 0.8355 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.9483, allocations: 2.047 MB / 0.8375 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9483, allocations: 0 / 0.8375 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.949, allocations: 172.1 kB / 0.8377 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.9494, allocations: 67.94 kB / 0.8378 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.9495, allocations: 26.3 kB / 0.8378 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.9516, allocations: 1.657 MB / 0.8394 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9516, allocations: 0 / 0.8394 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.9541, allocations: 1.023 MB / 0.8404 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.9545, allocations: 261.1 kB / 0.8407 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.9546, allocations: 21.69 kB / 0.8407 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.9554, allocations: 73.3 kB / 0.8408 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.9555, allocations: 63.28 kB / 0.8408 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.9556, allocations: 30.33 kB / 0.8408 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005452/0.9561, allocations: 439.2 kB / 0.8413 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9561, allocations: 0 / 0.8413 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008807/0.957, allocations: 303.4 kB / 0.8416 GB, free: 9.777 MB / 0.6075 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.9585, allocations: 0.5969 MB / 0.8421 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.9607, allocations: 0.8756 MB / 0.843 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9607, allocations: 0 / 0.843 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.962, allocations: 0.5431 MB / 0.8435 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.9633, allocations: 295 kB / 0.8438 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.9677, allocations: 1.77 MB / 0.8455 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.9683, allocations: 1.019 MB / 0.8465 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008504/0.9692, allocations: 266.3 kB / 0.8468 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.9695, allocations: 95.39 kB / 0.8469 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.9695, allocations: 3.938 kB / 0.8469 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.02482/0.9943, allocations: 14.56 MB / 0.8611 GB, free: 6.484 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)