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.001385/0.001385, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001378/0.001378, allocations: 190.5 kB / 16.25 MB, free: 6.152 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9592/0.9592, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 68.05 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1768, allocations: 81.02 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006215/0.1831, allocations: 4.192 MB / 0.5886 GB, free: 100 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4089/0.592, allocations: 148.3 MB / 0.7334 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.5928, allocations: 19.38 kB / 0.7334 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.5936, allocations: 136.5 kB / 0.7335 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.5954, allocations: 416.2 kB / 0.7339 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.5977, allocations: 0.727 MB / 0.7346 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.5994, allocations: 1.196 MB / 0.7358 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6007, allocations: 0.7065 MB / 0.7365 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.6014, allocations: 463.3 kB / 0.7369 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.6022, allocations: 491.5 kB / 0.7374 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.6024, allocations: 113.9 kB / 0.7375 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.6034, allocations: 461.7 kB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.6037, allocations: 297.8 kB / 0.7382 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006271/0.6043, allocations: 0.5377 MB / 0.7388 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.6064, allocations: 1.539 MB / 0.7403 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6064, allocations: 0 / 0.7403 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6064, allocations: 0 / 0.7403 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.041e-05/0.6064, allocations: 0 / 0.7403 GB, free: 9.723 MB / 0.5606 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.003226/0.6097, allocations: 1.392 MB / 0.7416 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6097, allocations: 10.19 kB / 0.7416 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.6114, allocations: 299.9 kB / 0.7419 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.6127, allocations: 0.7327 MB / 0.7426 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.6127, allocations: 64.53 kB / 0.7427 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.6129, allocations: 92.17 kB / 0.7428 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.615, allocations: 1.008 MB / 0.7438 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.615, allocations: 7.938 kB / 0.7438 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6151, allocations: 35.59 kB / 0.7438 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.6151, allocations: 28.14 kB / 0.7438 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.6177, allocations: 1.219 MB / 0.745 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.623, allocations: 2.576 MB / 0.7475 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.6255, allocations: 0.9356 MB / 0.7485 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.6263, allocations: 334.6 kB / 0.7488 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.6264, allocations: 36.67 kB / 0.7488 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.6275, allocations: 486.9 kB / 0.7493 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 2.244e-06/0.6275, allocations: 0 / 0.7493 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003668/0.6312, allocations: 1.237 MB / 0.7505 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.6313, allocations: 192.6 kB / 0.7507 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.6322, allocations: 0.5978 MB / 0.7513 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.6323, allocations: 41.7 kB / 0.7513 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.6327, allocations: 404.2 kB / 0.7517 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.6329, allocations: 248.3 kB / 0.7519 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.6332, allocations: 150.5 kB / 0.7521 GB, free: 408 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6334, allocations: 390.7 kB / 0.7524 GB, free: 8 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.6342, allocations: 289.9 kB / 0.7527 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.635, allocations: 386.1 kB / 0.7531 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.6365, allocations: 0.6502 MB / 0.7537 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6365, allocations: 7.938 kB / 0.7537 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002344/0.6389, allocations: 0.8763 MB / 0.7546 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6389, allocations: 14.64 kB / 0.7546 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6389, allocations: 0 / 0.7546 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.6395, allocations: 80.81 kB / 0.7547 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.6403, allocations: 179.6 kB / 0.7548 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.6425, allocations: 1.622 MB / 0.7564 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.6434, allocations: 103.4 kB / 0.7565 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.6435, allocations: 31.97 kB / 0.7565 GB, free: 11.61 MB / 0.5762 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.0004489/0.6439, allocations: 267.1 kB / 0.7568 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.6441, allocations: 79.06 kB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.647, allocations: 1.107 MB / 0.758 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.647, allocations: 12 kB / 0.758 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.647, allocations: 3.938 kB / 0.758 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.647, allocations: 7.984 kB / 0.758 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.651, allocations: 2.033 MB / 0.76 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.651, allocations: 0 / 0.76 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/0.6517, allocations: 167.8 kB / 0.7601 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.6522, allocations: 68.78 kB / 0.7602 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.6523, allocations: 27.98 kB / 0.7602 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.6543, allocations: 1.667 MB / 0.7618 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6543, allocations: 0 / 0.7618 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.6566, allocations: 1.016 MB / 0.7628 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.657, allocations: 259.8 kB / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6572, allocations: 19.94 kB / 0.7631 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.6579, allocations: 77.64 kB / 0.7632 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.6581, allocations: 60.91 kB / 0.7632 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.6581, allocations: 31.98 kB / 0.7633 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005738/0.6587, allocations: 435 kB / 0.7637 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6587, allocations: 4 kB / 0.7637 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009377/0.6597, allocations: 315 kB / 0.764 GB, free: 3.742 MB / 0.5762 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.001928/0.6616, allocations: 0.5935 MB / 0.7646 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.6644, allocations: 1.058 MB / 0.7656 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6644, allocations: 0 / 0.7656 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.6655, allocations: 0.5436 MB / 0.7661 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6667, allocations: 285.9 kB / 0.7664 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.6711, allocations: 2.215 MB / 0.7686 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.6718, allocations: 1.034 MB / 0.7696 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009137/0.6727, allocations: 266.2 kB / 0.7698 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.673, allocations: 103.4 kB / 0.7699 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.673, allocations: 0 / 0.7699 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Templates: time 0.02724/0.7002, allocations: 14.32 MB / 0.7839 GB, free: 15.66 MB / 0.6075 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)