Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005966/0.005966, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001428/0.001428, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8464/0.8464, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.88 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2044, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006043/0.2105, allocations: 4.142 MB / 0.6637 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.3811, allocations: 150.5 MB / 0.8107 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008848/0.382, allocations: 15.94 kB / 0.8107 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.3827, allocations: 162.5 kB / 0.8109 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.3844, allocations: 484.5 kB / 0.8113 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.3865, allocations: 0.802 MB / 0.8121 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.5401/0.9265, allocations: 1.193 MB / 0.8133 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.928, allocations: 0.6809 MB / 0.8139 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.9291, allocations: 457.3 kB / 0.8144 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.9298, allocations: 479.6 kB / 0.8148 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.93, allocations: 114 kB / 0.8149 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.9313, allocations: 484.8 kB / 0.8154 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.9317, allocations: 291.6 kB / 0.8157 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006805/0.9324, allocations: 0.5256 MB / 0.8162 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.9352, allocations: 1.57 MB / 0.8177 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9352, allocations: 0 / 0.8177 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9352, allocations: 0.8438 kB / 0.8177 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.9353, allocations: 0.5625 kB / 0.8177 GB, free: 3.934 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003049/0.9383, allocations: 1.378 MB / 0.8191 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.9384, allocations: 9.656 kB / 0.8191 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.9397, allocations: 202.8 kB / 0.8193 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.9413, allocations: 0.7451 MB / 0.82 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.9415, allocations: 70.12 kB / 0.8201 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.9417, allocations: 84.31 kB / 0.8201 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.9439, allocations: 0.9451 MB / 0.8211 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.944, allocations: 1.969 kB / 0.8211 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/0.9441, allocations: 38.94 kB / 0.8211 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.9441, allocations: 24.62 kB / 0.8211 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.9464, allocations: 1.125 MB / 0.8222 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.9515, allocations: 2.435 MB / 0.8246 GB, free: 2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.9539, allocations: 0.8789 MB / 0.8255 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.9544, allocations: 288.3 kB / 0.8257 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/0.9545, allocations: 29.81 kB / 0.8258 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008589/0.9554, allocations: 440.1 kB / 0.8262 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.9554, allocations: 1.906 kB / 0.8262 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003347/0.9588, allocations: 1.098 MB / 0.8273 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9589, allocations: 189.5 kB / 0.8274 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.9599, allocations: 0.5993 MB / 0.828 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-05/0.96, allocations: 40.61 kB / 0.8281 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.9604, allocations: 395.6 kB / 0.8284 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.9606, allocations: 244.4 kB / 0.8287 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.9608, allocations: 152 kB / 0.8288 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9609, allocations: 383.1 kB / 0.8292 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.9614, allocations: 240.9 kB / 0.8294 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.9621, allocations: 335.2 kB / 0.8297 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9631, allocations: 0.5701 MB / 0.8303 GB, free: 460 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9631, allocations: 3.938 kB / 0.8303 GB, free: 456 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00189/0.965, allocations: 0.7911 MB / 0.8311 GB, free: 352 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9651, allocations: 5.469 kB / 0.8311 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9651, allocations: 2.312 kB / 0.8311 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.9657, allocations: 88.47 kB / 0.8312 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.9663, allocations: 147.1 kB / 0.8313 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.9684, allocations: 1.634 MB / 0.8329 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/0.9692, allocations: 80.86 kB / 0.833 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.9692, allocations: 35.98 kB / 0.833 GB, free: 14.93 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 (84): * Single equations (assignments): 83 * 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.0004959/0.9697, allocations: 259.8 kB / 0.8333 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.9699, allocations: 79.16 kB / 0.8333 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.9722, allocations: 0.9989 MB / 0.8343 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.9722, allocations: 10.84 kB / 0.8343 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9722, allocations: 7.062 kB / 0.8343 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9722, allocations: 2.859 kB / 0.8343 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.9754, allocations: 1.899 MB / 0.8362 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.9754, allocations: 4.719 kB / 0.8362 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.976, allocations: 146.2 kB / 0.8363 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.9764, allocations: 69.45 kB / 0.8364 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.9765, allocations: 26.48 kB / 0.8364 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.9784, allocations: 1.653 MB / 0.838 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.9784, allocations: 6 kB / 0.838 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.9803, allocations: 0.9247 MB / 0.8389 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.9807, allocations: 257.8 kB / 0.8392 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.9808, allocations: 17.31 kB / 0.8392 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.9813, allocations: 60.69 kB / 0.8393 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.9815, allocations: 60.94 kB / 0.8393 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.9816, allocations: 32.95 kB / 0.8394 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005487/0.9821, allocations: 434.2 kB / 0.8398 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9821, allocations: 0.8438 kB / 0.8398 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001139/0.9833, allocations: 301.2 kB / 0.8401 GB, free: 12.39 MB / 0.6544 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 (85): * Single equations (assignments): 82 * 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.9847, allocations: 0.6104 MB / 0.8406 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.9862, allocations: 0.7694 MB / 0.8414 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9862, allocations: 0 / 0.8414 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.987, allocations: 0.4888 MB / 0.8419 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.9882, allocations: 284.3 kB / 0.8421 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.9918, allocations: 1.711 MB / 0.8438 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.9923, allocations: 1.016 MB / 0.8448 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008072/0.9931, allocations: 258.6 kB / 0.8451 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.9934, allocations: 101.5 kB / 0.8452 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.9934, allocations: 0 / 0.8452 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.02469/1.018, allocations: 14.22 MB / 0.859 GB, free: 9.66 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)