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.008403/0.008403, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001955/0.001955, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 70.25 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2039, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006135/0.2101, allocations: 4.145 MB / 0.6637 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.3944, allocations: 150.5 MB / 0.8107 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/0.3955, allocations: 15.94 kB / 0.8107 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.3961, allocations: 166.5 kB / 0.8109 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.3977, allocations: 490.2 kB / 0.8113 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.3998, allocations: 0.8029 MB / 0.8121 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.5498/0.9496, allocations: 1.193 MB / 0.8133 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.9514, allocations: 0.6781 MB / 0.8139 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.9526, allocations: 457.5 kB / 0.8144 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.9533, allocations: 482.4 kB / 0.8148 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.9535, allocations: 114.1 kB / 0.8149 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.9547, allocations: 481.7 kB / 0.8154 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.9552, allocations: 287.2 kB / 0.8157 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.956, allocations: 0.5281 MB / 0.8162 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.9588, allocations: 1.571 MB / 0.8177 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9588, allocations: 3.141 kB / 0.8177 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9588, allocations: 0 / 0.8177 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.9588, allocations: 0.875 kB / 0.8177 GB, free: 3.918 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.003367/0.9622, allocations: 1.38 MB / 0.8191 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.9623, allocations: 9.688 kB / 0.8191 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.9637, allocations: 203.2 kB / 0.8193 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.9653, allocations: 0.7446 MB / 0.82 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.9655, allocations: 69.58 kB / 0.8201 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.9657, allocations: 86.09 kB / 0.8202 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.9679, allocations: 0.942 MB / 0.8211 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.9679, allocations: 2.031 kB / 0.8211 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.968, allocations: 39.92 kB / 0.8211 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.9681, allocations: 25.72 kB / 0.8211 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.9705, allocations: 1.121 MB / 0.8222 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.9751, allocations: 2.432 MB / 0.8246 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.9774, allocations: 0.8819 MB / 0.8255 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.9779, allocations: 284.3 kB / 0.8257 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/0.978, allocations: 33.59 kB / 0.8258 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007911/0.9788, allocations: 442.5 kB / 0.8262 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.996e-06/0.9788, allocations: 1.203 kB / 0.8262 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003053/0.9819, allocations: 1.097 MB / 0.8273 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.9819, allocations: 189.6 kB / 0.8275 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/0.9828, allocations: 0.6005 MB / 0.828 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.9829, allocations: 41.36 kB / 0.8281 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.9832, allocations: 395.3 kB / 0.8285 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.9834, allocations: 246 kB / 0.8287 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.9836, allocations: 150 kB / 0.8288 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9837, allocations: 385.4 kB / 0.8292 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.9843, allocations: 241.3 kB / 0.8294 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.9849, allocations: 338.9 kB / 0.8298 GB, free: 496 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.986, allocations: 0.5662 MB / 0.8303 GB, free: 448 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.9861, allocations: 3.938 kB / 0.8303 GB, free: 444 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001993/0.9881, allocations: 0.7855 MB / 0.8311 GB, free: 336 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.9881, allocations: 5.5 kB / 0.8311 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.9881, allocations: 2.25 kB / 0.8311 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.9887, allocations: 85.69 kB / 0.8312 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.9894, allocations: 153 kB / 0.8313 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.9915, allocations: 1.634 MB / 0.8329 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.9923, allocations: 83.53 kB / 0.833 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.9924, allocations: 35.86 kB / 0.833 GB, free: 14.91 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.0005991/0.993, allocations: 256.4 kB / 0.8333 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.9931, allocations: 81.34 kB / 0.8333 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.9954, allocations: 0.9889 MB / 0.8343 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9955, allocations: 8.469 kB / 0.8343 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.9955, allocations: 0.9062 kB / 0.8343 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.9955, allocations: 9.484 kB / 0.8343 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.9987, allocations: 1.897 MB / 0.8362 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.9987, allocations: 3.938 kB / 0.8362 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.9993, allocations: 152 kB / 0.8363 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.9997, allocations: 71.69 kB / 0.8364 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.9998, allocations: 18.66 kB / 0.8364 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.002, allocations: 1.656 MB / 0.838 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.002, allocations: 3.281 kB / 0.838 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.004, allocations: 0.9264 MB / 0.8389 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/1.004, allocations: 262.2 kB / 0.8392 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.004, allocations: 15.78 kB / 0.8392 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/1.005, allocations: 54.31 kB / 0.8393 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.005, allocations: 61.19 kB / 0.8393 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.005, allocations: 32.72 kB / 0.8393 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006907/1.006, allocations: 435.1 kB / 0.8398 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/1.006, allocations: 3.5 kB / 0.8398 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001056/1.007, allocations: 301.3 kB / 0.8401 GB, free: 12.38 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.001623/1.008, allocations: 0.6087 MB / 0.8406 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.01, allocations: 0.7679 MB / 0.8414 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.01, allocations: 3.375 kB / 0.8414 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/1.011, allocations: 499.2 kB / 0.8419 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.012, allocations: 281.8 kB / 0.8421 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/1.016, allocations: 1.71 MB / 0.8438 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/1.017, allocations: 1.018 MB / 0.8448 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008623/1.018, allocations: 257.3 kB / 0.8451 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/1.018, allocations: 99.94 kB / 0.8451 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.884e-06/1.018, allocations: 0.8438 kB / 0.8451 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.02728/1.045, allocations: 14.23 MB / 0.859 GB, free: 9.633 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)