Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008575/0.008575, allocations: 102.2 kB / 15.73 MB, free: 6.484 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.001898/0.001898, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5074, allocations: 80.92 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005095/0.5126, allocations: 4.183 MB / 0.6687 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.702, allocations: 150.5 MB / 0.8157 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.7031, allocations: 19.88 kB / 0.8157 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.7041, allocations: 166.5 kB / 0.8159 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.7066, allocations: 491.9 kB / 0.8163 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.7094, allocations: 0.8048 MB / 0.8171 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.7111, allocations: 1.219 MB / 0.8183 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.7122, allocations: 0.6996 MB / 0.819 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.713, allocations: 470.3 kB / 0.8195 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007929/0.7138, allocations: 497.8 kB / 0.8199 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.7141, allocations: 112 kB / 0.82 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.7153, allocations: 487.6 kB / 0.8205 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.7156, allocations: 295.1 kB / 0.8208 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.7162, allocations: 0.5323 MB / 0.8213 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.7185, allocations: 1.583 MB / 0.8228 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7185, allocations: 0 / 0.8228 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7185, allocations: 0 / 0.8228 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.607e-05/0.7186, allocations: 0 / 0.8228 GB, free: 15.04 MB / 0.6544 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.002856/0.7214, allocations: 1.4 MB / 0.8242 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7215, allocations: 8.031 kB / 0.8242 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.7232, allocations: 295.3 kB / 0.8245 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.7246, allocations: 0.754 MB / 0.8252 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.7247, allocations: 66 kB / 0.8253 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.7248, allocations: 88 kB / 0.8254 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.727, allocations: 1.007 MB / 0.8264 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.727, allocations: 4 kB / 0.8264 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.7271, allocations: 40 kB / 0.8264 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.7271, allocations: 20 kB / 0.8264 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.7299, allocations: 1.221 MB / 0.8276 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.7354, allocations: 2.528 MB / 0.8301 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.738, allocations: 0.9454 MB / 0.831 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/0.7387, allocations: 334.6 kB / 0.8313 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.952e-05/0.7388, allocations: 32.69 kB / 0.8314 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/0.7397, allocations: 491.1 kB / 0.8318 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.625e-06/0.7398, allocations: 0 / 0.8318 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.003707/0.7435, allocations: 1.234 MB / 0.833 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.7436, allocations: 192.6 kB / 0.8332 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.7445, allocations: 0.5939 MB / 0.8338 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.7446, allocations: 41.7 kB / 0.8338 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.7449, allocations: 408.1 kB / 0.8342 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.7452, allocations: 248.3 kB / 0.8345 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.7455, allocations: 162.5 kB / 0.8346 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002585/0.7458, allocations: 382.7 kB / 0.835 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.7466, allocations: 289.8 kB / 0.8353 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.7474, allocations: 383.1 kB / 0.8356 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.7488, allocations: 0.6579 MB / 0.8363 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7488, allocations: 0 / 0.8363 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002493/0.7513, allocations: 0.8762 MB / 0.8371 GB, free: 32 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.7514, allocations: 4 kB / 0.8371 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7514, allocations: 4.094 kB / 0.8371 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.752, allocations: 88.64 kB / 0.8372 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.7528, allocations: 175.8 kB / 0.8374 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.7551, allocations: 1.626 MB / 0.839 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.7558, allocations: 99.31 kB / 0.8391 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.7559, allocations: 48.09 kB / 0.8391 GB, free: 13.84 MB / 0.67 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.0005032/0.7565, allocations: 262 kB / 0.8394 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.7567, allocations: 79.06 kB / 0.8394 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.7595, allocations: 1.104 MB / 0.8405 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7595, allocations: 11.94 kB / 0.8405 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7595, allocations: 0 / 0.8405 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7595, allocations: 7.969 kB / 0.8405 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.7636, allocations: 2.021 MB / 0.8425 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.7637, allocations: 0 / 0.8425 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.7644, allocations: 171.8 kB / 0.8427 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.7649, allocations: 76.72 kB / 0.8427 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.7649, allocations: 23.98 kB / 0.8428 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.767, allocations: 1.658 MB / 0.8444 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.767, allocations: 0 / 0.8444 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.7696, allocations: 1.018 MB / 0.8454 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.77, allocations: 267.7 kB / 0.8456 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7702, allocations: 20 kB / 0.8457 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.7709, allocations: 72.06 kB / 0.8457 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.771, allocations: 64.89 kB / 0.8458 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.7711, allocations: 35.98 kB / 0.8458 GB, free: 6.703 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007625/0.7719, allocations: 439 kB / 0.8462 GB, free: 6.281 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7719, allocations: 0 / 0.8462 GB, free: 6.281 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001272/0.7732, allocations: 303.2 kB / 0.8465 GB, free: 5.984 MB / 0.67 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.001674/0.7749, allocations: 0.5878 MB / 0.8471 GB, free: 5.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.7772, allocations: 0.8704 MB / 0.848 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7772, allocations: 0 / 0.848 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.7784, allocations: 0.5431 MB / 0.8485 GB, free: 4.133 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.7796, allocations: 298.9 kB / 0.8488 GB, free: 3.863 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.784, allocations: 1.774 MB / 0.8505 GB, free: 2.062 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.7848, allocations: 1.023 MB / 0.8515 GB, free: 1.012 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009231/0.7858, allocations: 270.2 kB / 0.8518 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.7861, allocations: 103.4 kB / 0.8519 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.7861, allocations: 0 / 0.8519 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of Templates: time 0.03203/0.8181, allocations: 14.55 MB / 0.8661 GB, free: 2.242 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)