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.001119/0.00112, allocations: 112.4 kB / 16.42 MB, free: 6.496 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.001256/0.001257, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7634/0.7634, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.61 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006035/0.1583, allocations: 4.146 MB / 0.6644 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5235/0.6818, allocations: 150.5 MB / 0.8113 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.6825, allocations: 22.03 kB / 0.8114 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.6831, allocations: 166.8 kB / 0.8115 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.6847, allocations: 479.8 kB / 0.812 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.6864, allocations: 0.8026 MB / 0.8128 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.6875, allocations: 1.193 MB / 0.8139 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.6885, allocations: 0.6829 MB / 0.8146 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.6891, allocations: 461.3 kB / 0.815 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.6897, allocations: 482.5 kB / 0.8155 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.69, allocations: 113.2 kB / 0.8156 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.691, allocations: 486.1 kB / 0.8161 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.6913, allocations: 286 kB / 0.8163 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.6918, allocations: 0.5283 MB / 0.8168 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.6934, allocations: 1.572 MB / 0.8184 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6934, allocations: 0 / 0.8184 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6934, allocations: 0 / 0.8184 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.484e-05/0.6935, allocations: 0 / 0.8184 GB, free: 9.926 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002173/0.6956, allocations: 1.38 MB / 0.8197 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6957, allocations: 7.375 kB / 0.8197 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.6967, allocations: 213.3 kB / 0.8199 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6978, allocations: 0.7433 MB / 0.8207 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.6978, allocations: 69.75 kB / 0.8207 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.698, allocations: 86.06 kB / 0.8208 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6995, allocations: 0.9509 MB / 0.8217 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6995, allocations: 0 / 0.8217 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.6996, allocations: 37.56 kB / 0.8218 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6996, allocations: 22.78 kB / 0.8218 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.7013, allocations: 1.13 MB / 0.8229 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.7048, allocations: 2.431 MB / 0.8253 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.7069, allocations: 0.8813 MB / 0.8261 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.7074, allocations: 285.6 kB / 0.8264 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.7074, allocations: 34.78 kB / 0.8264 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007212/0.7082, allocations: 438 kB / 0.8269 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.7082, allocations: 0 / 0.8269 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002772/0.7109, allocations: 1.092 MB / 0.8279 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.7111, allocations: 192.4 kB / 0.8281 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.7117, allocations: 0.6089 MB / 0.8287 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.7118, allocations: 38.02 kB / 0.8287 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.712, allocations: 398.1 kB / 0.8291 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.7122, allocations: 240.3 kB / 0.8294 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.7124, allocations: 152.8 kB / 0.8295 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7126, allocations: 381.1 kB / 0.8299 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.7131, allocations: 248.1 kB / 0.8301 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.7136, allocations: 337.9 kB / 0.8304 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7147, allocations: 0.5648 MB / 0.831 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7147, allocations: 3.938 kB / 0.831 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001781/0.7165, allocations: 0.7872 MB / 0.8317 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7165, allocations: 5.281 kB / 0.8318 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.7165, allocations: 6.5 kB / 0.8318 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.7171, allocations: 76.25 kB / 0.8318 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.7177, allocations: 154.3 kB / 0.832 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.7197, allocations: 1.627 MB / 0.8336 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.7204, allocations: 89.48 kB / 0.8337 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.7205, allocations: 32.78 kB / 0.8337 GB, free: 15.29 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 (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.0003862/0.7209, allocations: 258.4 kB / 0.8339 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.721, allocations: 82.27 kB / 0.834 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.7233, allocations: 1.006 MB / 0.835 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.7233, allocations: 3.984 kB / 0.835 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.7233, allocations: 0 / 0.835 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.7236, allocations: 253.3 kB / 0.8352 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.7238, allocations: 21.19 kB / 0.8353 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.7243, allocations: 59.28 kB / 0.8353 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.7245, allocations: 56.69 kB / 0.8354 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00186/0.7264, allocations: 0.8796 MB / 0.8362 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002016/0.7284, allocations: 1.296 MB / 0.8375 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000534/0.7289, allocations: 330.5 kB / 0.8378 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004833/0.7294, allocations: 438.9 kB / 0.8382 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of Backend: time 6.32e-07/0.7294, allocations: 0 / 0.8382 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.7324, allocations: 1.238 MB / 0.8394 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of SimCode: time 0.00312/0.7356, allocations: 2.01 MB / 0.8414 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.02548/0.7611, allocations: 15.38 MB / 0.8564 GB, free: 12.06 MB / 0.6231 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)