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.004383/0.004383, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001065/0.001065, allocations: 197.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.336/1.336, 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/package.mo): time 0.7246/0.7246, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.89 kB / 0.5813 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4852, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005554/0.4908, allocations: 4.189 MB / 0.6638 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.6646, allocations: 150.5 MB / 0.8107 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.6658, allocations: 23.88 kB / 0.8107 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009162/0.6668, allocations: 162.5 kB / 0.8109 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.669, allocations: 487.3 kB / 0.8114 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6714, allocations: 0.8056 MB / 0.8122 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.6731, allocations: 1.215 MB / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6743, allocations: 0.7016 MB / 0.814 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.6751, allocations: 462.4 kB / 0.8145 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008729/0.676, allocations: 489.8 kB / 0.8149 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.6764, allocations: 116 kB / 0.815 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.6776, allocations: 491.5 kB / 0.8155 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.678, allocations: 287 kB / 0.8158 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007499/0.6788, allocations: 0.5401 MB / 0.8163 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.6811, allocations: 1.583 MB / 0.8179 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6812, allocations: 0 / 0.8179 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6812, allocations: 0 / 0.8179 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.1e-05/0.6812, allocations: 4 kB / 0.8179 GB, free: 3.664 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002788/0.684, allocations: 1.43 MB / 0.8193 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6841, allocations: 8.031 kB / 0.8193 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.6856, allocations: 307.9 kB / 0.8196 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6867, allocations: 0.7544 MB / 0.8203 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.6867, allocations: 70 kB / 0.8204 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6869, allocations: 84 kB / 0.8204 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6886, allocations: 1.007 MB / 0.8214 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6886, allocations: 3.938 kB / 0.8214 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.6887, allocations: 40 kB / 0.8215 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.6887, allocations: 24 kB / 0.8215 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.6908, allocations: 1.218 MB / 0.8227 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.6947, allocations: 2.548 MB / 0.8252 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.697, allocations: 0.9382 MB / 0.8261 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.6977, allocations: 334.6 kB / 0.8264 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.83e-05/0.6978, allocations: 24.69 kB / 0.8264 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000952/0.6987, allocations: 495.1 kB / 0.8269 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.304e-06/0.6988, allocations: 0 / 0.8269 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.003319/0.7021, allocations: 1.238 MB / 0.8281 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7022, allocations: 192.6 kB / 0.8283 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.703, allocations: 0.6018 MB / 0.8289 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.703, allocations: 41.7 kB / 0.8289 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.7034, allocations: 404.9 kB / 0.8293 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.7036, allocations: 265.7 kB / 0.8296 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.7038, allocations: 154.6 kB / 0.8297 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7039, allocations: 386.7 kB / 0.8301 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.7046, allocations: 289.8 kB / 0.8304 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.7054, allocations: 387.1 kB / 0.8307 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.7068, allocations: 0.6541 MB / 0.8314 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7068, allocations: 0 / 0.8314 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002164/0.709, allocations: 0.8921 MB / 0.8322 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.709, allocations: 4 kB / 0.8322 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.709, allocations: 4 kB / 0.8322 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.7096, allocations: 88.8 kB / 0.8323 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.7104, allocations: 163.8 kB / 0.8325 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.7125, allocations: 1.623 MB / 0.8341 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.7133, allocations: 103.6 kB / 0.8342 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.7134, allocations: 31.97 kB / 0.8342 GB, free: 2.41 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 (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.0004834/0.7138, allocations: 270.4 kB / 0.8345 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.714, allocations: 79.48 kB / 0.8345 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.7167, allocations: 1.1 MB / 0.8356 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.7167, allocations: 15.94 kB / 0.8356 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7167, allocations: 0 / 0.8356 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.7168, allocations: 11.92 kB / 0.8356 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.7206, allocations: 2.04 MB / 0.8376 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.7206, allocations: 4 kB / 0.8376 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.7213, allocations: 167.8 kB / 0.8378 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.7217, allocations: 72.78 kB / 0.8379 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.7218, allocations: 23.98 kB / 0.8379 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.7236, allocations: 1.646 MB / 0.8395 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7236, allocations: 4.125 kB / 0.8395 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.7259, allocations: 1.037 MB / 0.8405 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.7263, allocations: 260.2 kB / 0.8408 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7264, allocations: 20 kB / 0.8408 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.7271, allocations: 71.92 kB / 0.8408 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.7272, allocations: 60.92 kB / 0.8409 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/0.7273, allocations: 35.97 kB / 0.8409 GB, free: 11.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005606/0.7279, allocations: 435 kB / 0.8413 GB, free: 10.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7279, allocations: 0 / 0.8413 GB, free: 10.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008768/0.7288, allocations: 311.1 kB / 0.8416 GB, free: 10.51 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.001381/0.7301, allocations: 0.6142 MB / 0.8422 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002/0.7322, allocations: 0.8587 MB / 0.8431 GB, free: 9.238 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7322, allocations: 3.938 kB / 0.8431 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7333, allocations: 0.547 MB / 0.8436 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.7344, allocations: 297.2 kB / 0.8439 GB, free: 8.414 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.7386, allocations: 1.8 MB / 0.8457 GB, free: 6.586 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.7393, allocations: 1.015 MB / 0.8467 GB, free: 5.543 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008523/0.7401, allocations: 274 kB / 0.8469 GB, free: 5.273 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.7404, allocations: 103.4 kB / 0.847 GB, free: 5.172 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.7404, allocations: 3.938 kB / 0.847 GB, free: 5.168 MB / 0.67 GB Notification: Performance of Templates: time 0.02427/0.7647, allocations: 14.54 MB / 0.8612 GB, free: 6.82 MB / 0.6856 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)