Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001273/0.001273, allocations: 111.6 kB / 17.08 MB, free: 6.016 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.001406/0.001406, allocations: 200.1 kB / 18.02 MB, free: 5.094 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.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6744/0.6744, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.02 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1433, allocations: 76.19 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006104/0.1495, allocations: 5.101 MB / 0.6377 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.46/0.6096, allocations: 150.7 MB / 0.7848 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.6104, allocations: 15.97 kB / 0.7848 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.6109, allocations: 203.8 kB / 0.785 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6124, allocations: 0.5619 MB / 0.7856 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.6139, allocations: 0.8465 MB / 0.7864 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.615, allocations: 1.442 MB / 0.7878 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.6158, allocations: 0.6494 MB / 0.7885 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.6163, allocations: 0.5143 MB / 0.789 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.6168, allocations: 0.5496 MB / 0.7895 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.617, allocations: 126.4 kB / 0.7896 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.6177, allocations: 491.4 kB / 0.7901 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.618, allocations: 326.7 kB / 0.7904 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.6184, allocations: 0.6006 MB / 0.791 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.6198, allocations: 1.731 MB / 0.7927 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6198, allocations: 2.156 kB / 0.7927 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6198, allocations: 0 / 0.7927 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.6198, allocations: 2.875 kB / 0.7927 GB, free: 13.05 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002179/0.622, allocations: 1.495 MB / 0.7941 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.622, allocations: 11 kB / 0.7942 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.623, allocations: 213.6 kB / 0.7944 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.624, allocations: 0.7832 MB / 0.7951 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.6241, allocations: 71.88 kB / 0.7952 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6242, allocations: 90.75 kB / 0.7953 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6256, allocations: 1.007 MB / 0.7963 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6256, allocations: 4 kB / 0.7963 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.6257, allocations: 43.22 kB / 0.7963 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6257, allocations: 23.38 kB / 0.7963 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.6272, allocations: 1.17 MB / 0.7975 GB, free: 11.67 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.6307, allocations: 2.862 MB / 0.8003 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.6328, allocations: 0.9774 MB / 0.8012 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.6333, allocations: 310.5 kB / 0.8015 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/0.6334, allocations: 33.91 kB / 0.8015 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.6341, allocations: 0.5141 MB / 0.802 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 1.874e-06/0.6341, allocations: 0 / 0.802 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00287/0.637, allocations: 1.223 MB / 0.8032 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.6371, allocations: 190.7 kB / 0.8034 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.6378, allocations: 0.6475 MB / 0.8041 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.6378, allocations: 48.77 kB / 0.8041 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.6381, allocations: 416.2 kB / 0.8045 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6383, allocations: 265.6 kB / 0.8048 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.6385, allocations: 168.4 kB / 0.8049 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6386, allocations: 387.8 kB / 0.8053 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.6391, allocations: 276.1 kB / 0.8055 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.6397, allocations: 373.9 kB / 0.8059 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.6407, allocations: 0.6258 MB / 0.8065 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6407, allocations: 0 / 0.8065 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001729/0.6424, allocations: 0.8683 MB / 0.8074 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6425, allocations: 9.781 kB / 0.8074 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6425, allocations: 6.344 kB / 0.8074 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.6431, allocations: 78.34 kB / 0.8075 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.6437, allocations: 167.5 kB / 0.8076 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6457, allocations: 1.629 MB / 0.8092 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.6464, allocations: 93.45 kB / 0.8093 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.6465, allocations: 40.31 kB / 0.8093 GB, free: 6.262 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003496/0.6468, allocations: 282 kB / 0.8096 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.647, allocations: 83.44 kB / 0.8097 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.6491, allocations: 1.102 MB / 0.8108 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.6492, allocations: 10.31 kB / 0.8108 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6492, allocations: 0 / 0.8108 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6492, allocations: 3.984 kB / 0.8108 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.6521, allocations: 2.006 MB / 0.8127 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6521, allocations: 0 / 0.8127 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.6526, allocations: 150.9 kB / 0.8129 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.6531, allocations: 70.47 kB / 0.8129 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.6531, allocations: 23.8 kB / 0.813 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.6548, allocations: 1.671 MB / 0.8146 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6548, allocations: 0 / 0.8146 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6566, allocations: 1.02 MB / 0.8156 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.6569, allocations: 271.7 kB / 0.8158 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.6571, allocations: 19.47 kB / 0.8159 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.6577, allocations: 68.42 kB / 0.8159 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6579, allocations: 77.2 kB / 0.816 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.6579, allocations: 38.61 kB / 0.816 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004729/0.6584, allocations: 466.8 kB / 0.8165 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6584, allocations: 0 / 0.8165 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007897/0.6592, allocations: 340.7 kB / 0.8168 GB, free: 1.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001231/0.6604, allocations: 0.6098 MB / 0.8174 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.662, allocations: 0.8521 MB / 0.8182 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.662, allocations: 6.375 kB / 0.8182 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.6628, allocations: 0.5284 MB / 0.8188 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6639, allocations: 308 kB / 0.8191 GB, free: 124 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.6665, allocations: 1.76 MB / 0.8208 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.667, allocations: 1.039 MB / 0.8218 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.6673, allocations: 122.3 kB / 0.8219 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.6673, allocations: 0 / 0.8219 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of Templates: time 0.02267/0.69, allocations: 19.58 MB / 0.841 GB, free: 13.75 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)