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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, 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.7033/0.7033, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.367/1.367, allocations: 222.9 MB / 403.3 MB, free: 7.043 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.0009606/0.0009605, allocations: 117 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009882/0.0009882, allocations: 59.91 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.125, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005765/0.1308, allocations: 4.172 MB / 0.6442 GB, free: 2.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.415/0.5458, allocations: 148.2 MB / 0.7889 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009624/0.5468, allocations: 15.94 kB / 0.7889 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.5476, allocations: 129.6 kB / 0.7891 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.5495, allocations: 407.5 kB / 0.7895 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.5516, allocations: 0.6889 MB / 0.7901 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.5531, allocations: 1.122 MB / 0.7912 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5541, allocations: 0.6644 MB / 0.7919 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.5548, allocations: 400.2 kB / 0.7923 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.5554, allocations: 458.6 kB / 0.7927 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.5556, allocations: 60 kB / 0.7927 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.5565, allocations: 406.1 kB / 0.7931 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.5568, allocations: 235 kB / 0.7934 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.5574, allocations: 485.1 kB / 0.7938 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.5595, allocations: 1.484 MB / 0.7953 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5595, allocations: 0 / 0.7953 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5595, allocations: 0 / 0.7953 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.278e-05/0.5595, allocations: 0.5625 kB / 0.7953 GB, free: 4.254 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002538/0.5621, allocations: 1.373 MB / 0.7966 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5621, allocations: 12.03 kB / 0.7966 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.5633, allocations: 208.1 kB / 0.7968 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5644, allocations: 0.7309 MB / 0.7975 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.5645, allocations: 66 kB / 0.7976 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5646, allocations: 87.75 kB / 0.7977 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.5663, allocations: 0.9487 MB / 0.7986 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5663, allocations: 0 / 0.7986 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.5664, allocations: 44 kB / 0.7986 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5664, allocations: 20 kB / 0.7987 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.5683, allocations: 1.124 MB / 0.7998 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.5725, allocations: 2.483 MB / 0.8022 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.5748, allocations: 0.8842 MB / 0.8031 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.5753, allocations: 290.7 kB / 0.8033 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.5754, allocations: 28.69 kB / 0.8034 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/0.5762, allocations: 431.2 kB / 0.8038 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 3.497e-06/0.5763, allocations: 0 / 0.8038 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.003037/0.5793, allocations: 1.104 MB / 0.8048 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.5794, allocations: 188.6 kB / 0.805 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.5802, allocations: 0.6017 MB / 0.8056 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.5803, allocations: 37.7 kB / 0.8057 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.5807, allocations: 396.2 kB / 0.806 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.5809, allocations: 248.5 kB / 0.8063 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.5812, allocations: 146.5 kB / 0.8064 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5814, allocations: 386.7 kB / 0.8068 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.582, allocations: 237.9 kB / 0.807 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.5826, allocations: 343 kB / 0.8073 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5837, allocations: 0.5604 MB / 0.8079 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5837, allocations: 4 kB / 0.8079 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001828/0.5856, allocations: 0.7902 MB / 0.8087 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5856, allocations: 8 kB / 0.8087 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5856, allocations: 0 / 0.8087 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.5862, allocations: 84.86 kB / 0.8087 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.5868, allocations: 151.7 kB / 0.8089 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.5888, allocations: 1.52 MB / 0.8104 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.5894, allocations: 84.89 kB / 0.8105 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.5895, allocations: 35.62 kB / 0.8105 GB, free: 4.145 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 (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.0004722/0.59, allocations: 254.3 kB / 0.8107 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5902, allocations: 75.06 kB / 0.8108 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.5925, allocations: 1.01 MB / 0.8118 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5925, allocations: 8 kB / 0.8118 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5925, allocations: 0 / 0.8118 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5926, allocations: 7.984 kB / 0.8118 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.5959, allocations: 1.892 MB / 0.8136 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.596, allocations: 4 kB / 0.8137 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.5965, allocations: 143.8 kB / 0.8138 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.5971, allocations: 80.72 kB / 0.8139 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.5971, allocations: 27.97 kB / 0.8139 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.5989, allocations: 1.54 MB / 0.8154 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.599, allocations: 0 / 0.8154 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.6019, allocations: 1.932 MB / 0.8173 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.6023, allocations: 259.8 kB / 0.8175 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.6024, allocations: 16 kB / 0.8175 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.603, allocations: 59.94 kB / 0.8176 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6032, allocations: 60.91 kB / 0.8177 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.6032, allocations: 32.05 kB / 0.8177 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005877/0.6038, allocations: 439 kB / 0.8181 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6038, allocations: 0 / 0.8181 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00102/0.6049, allocations: 307.1 kB / 0.8184 GB, free: 11.74 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 (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.001512/0.6064, allocations: 0.6072 MB / 0.819 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.6082, allocations: 0.7655 MB / 0.8197 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6082, allocations: 3.938 kB / 0.8197 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.6092, allocations: 0.4885 MB / 0.8202 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.6104, allocations: 262.3 kB / 0.8205 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.6147, allocations: 2.573 MB / 0.823 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.6154, allocations: 1.039 MB / 0.824 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008414/0.6162, allocations: 258.2 kB / 0.8242 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.6165, allocations: 107.4 kB / 0.8244 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.6165, allocations: 0 / 0.8244 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of Templates: time 0.02227/0.6388, allocations: 13.89 MB / 0.8379 GB, free: 7.973 MB / 0.573 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)