Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001737/0.001737, 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-master/package.mo): time 0.7212/0.7212, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.323/1.323, allocations: 222.9 MB / 404.7 MB, free: 6.133 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.0009624/0.0009624, allocations: 102.7 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009896/0.0009897, allocations: 48.06 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1168, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005349/0.1221, allocations: 4.169 MB / 0.6462 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4187/0.5409, allocations: 148.2 MB / 0.7909 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.5415, allocations: 15.94 kB / 0.7909 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.5421, allocations: 133.7 kB / 0.791 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5434, allocations: 399.5 kB / 0.7914 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.5451, allocations: 0.6944 MB / 0.7921 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.5461, allocations: 1.114 MB / 0.7932 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008722/0.547, allocations: 0.6727 MB / 0.7938 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.5475, allocations: 398.4 kB / 0.7942 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.5479, allocations: 453.8 kB / 0.7947 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.548, allocations: 60 kB / 0.7947 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.5488, allocations: 406.6 kB / 0.7951 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.549, allocations: 243 kB / 0.7953 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.5495, allocations: 485.1 kB / 0.7958 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5508, allocations: 1.48 MB / 0.7972 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5508, allocations: 4 kB / 0.7972 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5508, allocations: 0 / 0.7972 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.5508, allocations: 0 / 0.7972 GB, free: 2.273 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.002182/0.553, allocations: 1.377 MB / 0.7986 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.553, allocations: 8.031 kB / 0.7986 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5541, allocations: 211.4 kB / 0.7988 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.555, allocations: 0.7232 MB / 0.7995 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.5551, allocations: 69.94 kB / 0.7996 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.5552, allocations: 88 kB / 0.7997 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5566, allocations: 0.941 MB / 0.8006 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5567, allocations: 4 kB / 0.8006 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.5568, allocations: 36 kB / 0.8006 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.5568, allocations: 24 kB / 0.8006 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.5587, allocations: 1.124 MB / 0.8017 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.5624, allocations: 2.479 MB / 0.8042 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.5646, allocations: 0.883 MB / 0.805 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.5652, allocations: 290.6 kB / 0.8053 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.5652, allocations: 32.69 kB / 0.8053 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007903/0.566, allocations: 431.2 kB / 0.8057 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.5661, allocations: 4 kB / 0.8057 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.00289/0.5689, allocations: 1.096 MB / 0.8068 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.5691, allocations: 192.6 kB / 0.807 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.5697, allocations: 0.5978 MB / 0.8076 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.5698, allocations: 41.69 kB / 0.8076 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.57, allocations: 396.2 kB / 0.808 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.5702, allocations: 244.5 kB / 0.8082 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.5704, allocations: 150.5 kB / 0.8084 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5706, allocations: 382.7 kB / 0.8087 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.5711, allocations: 245.8 kB / 0.809 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.5717, allocations: 339.1 kB / 0.8093 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5728, allocations: 0.5604 MB / 0.8098 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5728, allocations: 3.984 kB / 0.8098 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001772/0.5746, allocations: 0.7902 MB / 0.8106 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5746, allocations: 4 kB / 0.8106 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5746, allocations: 4 kB / 0.8106 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.5752, allocations: 96.53 kB / 0.8107 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.5758, allocations: 147.8 kB / 0.8109 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.5778, allocations: 1.514 MB / 0.8123 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.5783, allocations: 84.23 kB / 0.8124 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.5784, allocations: 35.97 kB / 0.8124 GB, free: 2.172 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.0003082/0.5787, allocations: 251 kB / 0.8127 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5789, allocations: 79.12 kB / 0.8128 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5811, allocations: 1.01 MB / 0.8138 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5811, allocations: 8 kB / 0.8138 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5811, allocations: 0 / 0.8138 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5811, allocations: 3.984 kB / 0.8138 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.5841, allocations: 1.903 MB / 0.8156 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5841, allocations: 0 / 0.8156 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.5847, allocations: 143.8 kB / 0.8158 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/0.5852, allocations: 88.7 kB / 0.8158 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.5853, allocations: 23.98 kB / 0.8159 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.587, allocations: 1.544 MB / 0.8174 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.587, allocations: 4.062 kB / 0.8174 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.5897, allocations: 1.928 MB / 0.8193 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.59, allocations: 259.8 kB / 0.8195 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.5901, allocations: 19.98 kB / 0.8195 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.5907, allocations: 57.36 kB / 0.8196 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5908, allocations: 60.91 kB / 0.8196 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.5909, allocations: 32.05 kB / 0.8197 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004535/0.5913, allocations: 439 kB / 0.8201 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5913, allocations: 0 / 0.8201 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007978/0.5922, allocations: 311.1 kB / 0.8204 GB, free: 9.746 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.001271/0.5934, allocations: 0.5997 MB / 0.821 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.5949, allocations: 0.7617 MB / 0.8217 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5949, allocations: 0 / 0.8217 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.5958, allocations: 0.4924 MB / 0.8222 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5969, allocations: 256 kB / 0.8224 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.6007, allocations: 2.577 MB / 0.825 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.6013, allocations: 1.035 MB / 0.826 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007536/0.602, allocations: 262.2 kB / 0.8262 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.6023, allocations: 99.39 kB / 0.8263 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/0.6023, allocations: 3.938 kB / 0.8263 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of Templates: time 0.02023/0.6225, allocations: 13.9 MB / 0.8399 GB, free: 5.98 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)