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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 403.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 97.94 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 51.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1371, allocations: 80.19 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006043/0.1432, allocations: 4.223 MB / 0.6443 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4458/0.589, allocations: 148.2 MB / 0.789 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.5901, allocations: 15.94 kB / 0.789 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.5909, allocations: 133.6 kB / 0.7891 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.5927, allocations: 407.1 kB / 0.7895 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5948, allocations: 0.6966 MB / 0.7902 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.5963, allocations: 1.135 MB / 0.7913 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.5973, allocations: 0.688 MB / 0.792 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.598, allocations: 410.3 kB / 0.7924 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.5986, allocations: 457.8 kB / 0.7928 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.5988, allocations: 64 kB / 0.7929 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.5996, allocations: 410.1 kB / 0.7932 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.5998, allocations: 243 kB / 0.7935 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.6002, allocations: 493.1 kB / 0.7939 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.6017, allocations: 1.495 MB / 0.7954 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6017, allocations: 0 / 0.7954 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6017, allocations: 0 / 0.7954 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.6017, allocations: 0 / 0.7954 GB, free: 4.062 MB / 0.5261 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.002253/0.604, allocations: 1.393 MB / 0.7968 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.604, allocations: 8.594 kB / 0.7968 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.6057, allocations: 299.7 kB / 0.7971 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.6067, allocations: 0.7309 MB / 0.7978 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.6068, allocations: 70 kB / 0.7978 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.6069, allocations: 84 kB / 0.7979 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.6087, allocations: 1.015 MB / 0.7989 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.6087, allocations: 2.312 kB / 0.7989 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.6088, allocations: 36 kB / 0.799 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6088, allocations: 24 kB / 0.799 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.611, allocations: 1.221 MB / 0.8002 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.6153, allocations: 2.572 MB / 0.8027 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.6178, allocations: 0.9425 MB / 0.8036 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/0.6186, allocations: 334.6 kB / 0.8039 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.6187, allocations: 28.69 kB / 0.8039 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.6197, allocations: 495.1 kB / 0.8044 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=75): time 2.996e-06/0.6198, allocations: 0 / 0.8044 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=75): time 0.003752/0.6235, allocations: 1.233 MB / 0.8056 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.6237, allocations: 192.6 kB / 0.8058 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6247, allocations: 0.5978 MB / 0.8064 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.6248, allocations: 41.7 kB / 0.8064 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.6252, allocations: 408.1 kB / 0.8068 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.6254, allocations: 252.3 kB / 0.8071 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.6257, allocations: 154.5 kB / 0.8072 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6258, allocations: 382.7 kB / 0.8076 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.6266, allocations: 289.8 kB / 0.8078 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.6274, allocations: 387.1 kB / 0.8082 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.629, allocations: 0.6501 MB / 0.8089 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.629, allocations: 0 / 0.8089 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00246/0.6314, allocations: 0.8801 MB / 0.8097 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.6315, allocations: 5.25 kB / 0.8097 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6315, allocations: 4.875 kB / 0.8097 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.6322, allocations: 88.8 kB / 0.8098 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.6331, allocations: 167.7 kB / 0.81 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6353, allocations: 1.519 MB / 0.8114 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/0.6362, allocations: 104.1 kB / 0.8115 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.6363, allocations: 35.97 kB / 0.8116 GB, free: 2.977 MB / 0.5417 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.0005888/0.6369, allocations: 254.3 kB / 0.8118 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.6372, allocations: 82.84 kB / 0.8119 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.6401, allocations: 1.108 MB / 0.813 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6402, allocations: 12 kB / 0.813 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6402, allocations: 0 / 0.813 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6402, allocations: 3.984 kB / 0.813 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/0.6444, allocations: 2.035 MB / 0.815 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6445, allocations: 3.938 kB / 0.815 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.6452, allocations: 167.8 kB / 0.8152 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.6458, allocations: 80.72 kB / 0.8152 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.6458, allocations: 23.98 kB / 0.8153 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.6476, allocations: 1.552 MB / 0.8168 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6476, allocations: 0 / 0.8168 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.6515, allocations: 2.088 MB / 0.8188 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.6519, allocations: 251.8 kB / 0.819 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.6521, allocations: 31.92 kB / 0.8191 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.6528, allocations: 67.92 kB / 0.8191 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.653, allocations: 64.86 kB / 0.8192 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.6531, allocations: 39.97 kB / 0.8192 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005509/0.6536, allocations: 435 kB / 0.8197 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6536, allocations: 0 / 0.8197 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001037/0.6547, allocations: 307.2 kB / 0.82 GB, free: 10.12 MB / 0.5573 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.001498/0.6562, allocations: 0.6032 MB / 0.8205 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.6584, allocations: 0.8708 MB / 0.8214 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6585, allocations: 4 kB / 0.8214 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.6596, allocations: 0.5354 MB / 0.8219 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.6608, allocations: 254.3 kB / 0.8222 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.6656, allocations: 2.663 MB / 0.8248 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.6663, allocations: 1.059 MB / 0.8258 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000947/0.6672, allocations: 270.2 kB / 0.8261 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.6675, allocations: 103.4 kB / 0.8262 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.6675, allocations: 0 / 0.8262 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of Templates: time 0.02476/0.6923, allocations: 14.21 MB / 0.84 GB, free: 5.766 MB / 0.573 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)