Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007222/0.007223, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001497/0.001497, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8576/0.8576, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.2 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1811, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00613/0.1873, allocations: 4.192 MB / 0.6638 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.3633, allocations: 150.5 MB / 0.8108 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3643, allocations: 15.94 kB / 0.8108 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.365, allocations: 166.4 kB / 0.8109 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.3666, allocations: 487.4 kB / 0.8114 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3687, allocations: 0.8182 MB / 0.8122 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.499/0.8677, allocations: 1.207 MB / 0.8134 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.8692, allocations: 0.679 MB / 0.8141 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.8703, allocations: 468.9 kB / 0.8145 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007712/0.8711, allocations: 486.9 kB / 0.815 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.8713, allocations: 111.3 kB / 0.8151 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.8729, allocations: 0.4913 MB / 0.8156 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.8733, allocations: 286.1 kB / 0.8158 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.874, allocations: 0.5327 MB / 0.8163 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.8766, allocations: 1.584 MB / 0.8179 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8766, allocations: 0.5 kB / 0.8179 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8766, allocations: 0.625 kB / 0.8179 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.8766, allocations: 0 / 0.8179 GB, free: 3.52 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003162/0.8798, allocations: 1.393 MB / 0.8193 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.8799, allocations: 9.438 kB / 0.8193 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.8813, allocations: 205 kB / 0.8195 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.8827, allocations: 0.7428 MB / 0.8202 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.8828, allocations: 70.41 kB / 0.8203 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.883, allocations: 88.58 kB / 0.8203 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.8851, allocations: 0.9527 MB / 0.8213 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.8851, allocations: 0 / 0.8213 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.8852, allocations: 38.75 kB / 0.8213 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.8852, allocations: 23.3 kB / 0.8213 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.8874, allocations: 1.126 MB / 0.8224 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.8918, allocations: 2.521 MB / 0.8249 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.8935, allocations: 0.8173 MB / 0.8257 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/0.8942, allocations: 287.9 kB / 0.826 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008304/0.895, allocations: 471.5 kB / 0.8264 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/0.8959, allocations: 450.1 kB / 0.8268 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/0.896, allocations: 0.9375 kB / 0.8268 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003169/0.8991, allocations: 1.096 MB / 0.8279 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.8993, allocations: 187.8 kB / 0.8281 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.9001, allocations: 0.5999 MB / 0.8287 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/0.9001, allocations: 41.77 kB / 0.8287 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.9004, allocations: 400.6 kB / 0.8291 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.9006, allocations: 244.8 kB / 0.8293 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.9008, allocations: 155.8 kB / 0.8295 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.901, allocations: 379.6 kB / 0.8298 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.9015, allocations: 246 kB / 0.8301 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.9021, allocations: 332.5 kB / 0.8304 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9031, allocations: 0.5739 MB / 0.831 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9032, allocations: 0.8438 kB / 0.831 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001816/0.905, allocations: 0.7936 MB / 0.8317 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.905, allocations: 8.188 kB / 0.8317 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.905, allocations: 2.656 kB / 0.8317 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.9056, allocations: 85.48 kB / 0.8318 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.9063, allocations: 152.4 kB / 0.832 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.9087, allocations: 1.627 MB / 0.8336 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.9094, allocations: 85.41 kB / 0.8336 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.9095, allocations: 35.39 kB / 0.8337 GB, free: 13.93 MB / 0.6544 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 (84): * Single equations (assignments): 83 * 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.0003785/0.9099, allocations: 261.9 kB / 0.8339 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.9101, allocations: 82.7 kB / 0.834 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.9122, allocations: 0.9886 MB / 0.835 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.9123, allocations: 8.25 kB / 0.835 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.9123, allocations: 0.7812 kB / 0.835 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.9123, allocations: 5.438 kB / 0.835 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.9154, allocations: 1.902 MB / 0.8368 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9154, allocations: 1.203 kB / 0.8368 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.9159, allocations: 146 kB / 0.837 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.9164, allocations: 80.5 kB / 0.8371 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.9164, allocations: 20.92 kB / 0.8371 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.9183, allocations: 1.651 MB / 0.8387 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.9183, allocations: 6.375 kB / 0.8387 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.9201, allocations: 0.9205 MB / 0.8396 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.9204, allocations: 262.6 kB / 0.8398 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.9205, allocations: 15.06 kB / 0.8399 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.9211, allocations: 62.75 kB / 0.8399 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.9213, allocations: 61.8 kB / 0.84 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.9214, allocations: 29.33 kB / 0.84 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005315/0.9219, allocations: 440.7 kB / 0.8404 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9219, allocations: 0 / 0.8404 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001134/0.9231, allocations: 313.7 kB / 0.8407 GB, free: 11.4 MB / 0.6544 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 (84): * Single equations (assignments): 81 * 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.001568/0.9246, allocations: 0.6156 MB / 0.8413 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.9263, allocations: 0.7735 MB / 0.8421 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9263, allocations: 3.875 kB / 0.8421 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.9272, allocations: 494.4 kB / 0.8426 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.9284, allocations: 284.1 kB / 0.8428 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.9327, allocations: 1.718 MB / 0.8445 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/0.9336, allocations: 1.02 MB / 0.8455 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009737/0.9346, allocations: 264 kB / 0.8458 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.9349, allocations: 95.19 kB / 0.8458 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.9349, allocations: 0 / 0.8458 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.02436/0.9593, allocations: 14.33 MB / 0.8598 GB, free: 8.562 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)