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.00571/0.00571, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001244/0.001244, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8239/0.8239, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 67.42 kB / 0.5813 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.186, allocations: 80.2 MB / 0.6597 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006484/0.1925, allocations: 4.201 MB / 0.6638 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6741/0.8667, allocations: 150.5 MB / 0.8107 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.8682, allocations: 18.03 kB / 0.8107 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.869, allocations: 171.7 kB / 0.8109 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.8706, allocations: 481.6 kB / 0.8114 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.8725, allocations: 0.8078 MB / 0.8122 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.8736, allocations: 1.216 MB / 0.8133 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000921/0.8746, allocations: 0.7016 MB / 0.814 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.8752, allocations: 462 kB / 0.8145 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.8757, allocations: 492.2 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.8759, allocations: 116 kB / 0.815 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00084/0.8767, allocations: 490.4 kB / 0.8155 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.877, allocations: 292.4 kB / 0.8158 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.8775, allocations: 0.5351 MB / 0.8163 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.8791, allocations: 1.584 MB / 0.8179 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8791, allocations: 2.562 kB / 0.8179 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8791, allocations: 0 / 0.8179 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.8791, allocations: 0 / 0.8179 GB, free: 9.875 MB / 0.5919 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.002295/0.8814, allocations: 1.388 MB / 0.8192 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8815, allocations: 10.44 kB / 0.8192 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.8831, allocations: 296.5 kB / 0.8195 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.8843, allocations: 0.7516 MB / 0.8202 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.8844, allocations: 76.22 kB / 0.8203 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8845, allocations: 91.23 kB / 0.8204 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.8863, allocations: 1.002 MB / 0.8214 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.8863, allocations: 4 kB / 0.8214 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.8864, allocations: 37.84 kB / 0.8214 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.8864, allocations: 22.81 kB / 0.8214 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.8886, allocations: 1.22 MB / 0.8226 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.8927, allocations: 2.54 MB / 0.8251 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.895, allocations: 0.9348 MB / 0.826 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.8957, allocations: 341.4 kB / 0.8264 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.8958, allocations: 32.64 kB / 0.8264 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/0.8968, allocations: 493.7 kB / 0.8269 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=75): time 2.284e-06/0.8968, allocations: 0 / 0.8269 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75): time 0.003406/0.9002, allocations: 1.229 MB / 0.8281 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.9004, allocations: 192.5 kB / 0.8282 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.9011, allocations: 0.6005 MB / 0.8288 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.9012, allocations: 38.55 kB / 0.8289 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.9015, allocations: 402.9 kB / 0.8293 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.9017, allocations: 253.9 kB / 0.8295 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.902, allocations: 155.1 kB / 0.8296 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.9022, allocations: 382.2 kB / 0.83 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.9029, allocations: 295.1 kB / 0.8303 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.9036, allocations: 377.3 kB / 0.8306 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.9051, allocations: 0.6559 MB / 0.8313 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9051, allocations: 0 / 0.8313 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002168/0.9073, allocations: 0.8874 MB / 0.8322 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9073, allocations: 4.875 kB / 0.8322 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9073, allocations: 6.406 kB / 0.8322 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.9079, allocations: 75.81 kB / 0.8322 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.9086, allocations: 177.7 kB / 0.8324 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.9111, allocations: 1.631 MB / 0.834 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.9118, allocations: 99.66 kB / 0.8341 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.9119, allocations: 42.41 kB / 0.8341 GB, free: 14.73 MB / 0.6075 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.0004678/0.9124, allocations: 260 kB / 0.8344 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.9125, allocations: 76.59 kB / 0.8345 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.9152, allocations: 1.101 MB / 0.8355 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.9152, allocations: 10 kB / 0.8355 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9152, allocations: 3.938 kB / 0.8355 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.9153, allocations: 3.984 kB / 0.8355 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.919, allocations: 2.04 MB / 0.8375 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.919, allocations: 7.875 kB / 0.8375 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.9197, allocations: 171.9 kB / 0.8377 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.9202, allocations: 68.08 kB / 0.8378 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.9202, allocations: 26.03 kB / 0.8378 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.9221, allocations: 1.657 MB / 0.8394 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9221, allocations: 0 / 0.8394 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.9243, allocations: 1.025 MB / 0.8404 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.9247, allocations: 257.2 kB / 0.8407 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.9249, allocations: 29.02 kB / 0.8407 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.9255, allocations: 65.91 kB / 0.8408 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.9256, allocations: 59.12 kB / 0.8408 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.9257, allocations: 35.52 kB / 0.8408 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005028/0.9262, allocations: 439.4 kB / 0.8413 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9262, allocations: 0 / 0.8413 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009139/0.9272, allocations: 302.6 kB / 0.8416 GB, free: 9.594 MB / 0.6075 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.001372/0.9285, allocations: 0.5912 MB / 0.8421 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.9306, allocations: 0.8764 MB / 0.843 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9306, allocations: 0 / 0.843 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.9317, allocations: 0.5462 MB / 0.8435 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.9327, allocations: 285.7 kB / 0.8438 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.9365, allocations: 1.775 MB / 0.8455 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.9372, allocations: 1.019 MB / 0.8465 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007627/0.9379, allocations: 266.2 kB / 0.8468 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.9382, allocations: 103.4 kB / 0.8469 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.9382, allocations: 0 / 0.8469 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.02502/0.9632, allocations: 14.56 MB / 0.8611 GB, free: 6.277 MB / 0.6231 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)