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.00105/0.001051, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.00106/0.00106, allocations: 199.1 kB / 17.34 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.27 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 76.18 MB / 0.6321 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006493/0.1549, allocations: 5.105 MB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5925/0.7475, allocations: 150.7 MB / 0.7842 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7487, allocations: 22.03 kB / 0.7842 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.7494, allocations: 198 kB / 0.7844 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.7515, allocations: 0.5669 MB / 0.7849 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.7535, allocations: 0.846 MB / 0.7858 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.7555, allocations: 1.446 MB / 0.7872 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.7566, allocations: 0.6546 MB / 0.7878 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.7577, allocations: 0.5098 MB / 0.7883 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.7585, allocations: 0.5437 MB / 0.7888 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.7587, allocations: 126.2 kB / 0.789 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.76, allocations: 0.4899 MB / 0.7894 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.7603, allocations: 316.5 kB / 0.7897 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.7608, allocations: 0.6019 MB / 0.7903 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.7629, allocations: 1.735 MB / 0.792 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.763, allocations: 3.625 kB / 0.792 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.763, allocations: 0 / 0.792 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.763, allocations: 0 / 0.792 GB, free: 13.07 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.00297/0.766, allocations: 1.492 MB / 0.7935 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.766, allocations: 17.06 kB / 0.7935 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7671, allocations: 210 kB / 0.7937 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7683, allocations: 0.7821 MB / 0.7945 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.7684, allocations: 68.47 kB / 0.7945 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.7685, allocations: 101.3 kB / 0.7946 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.7702, allocations: 1.007 MB / 0.7956 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.7703, allocations: 2.406 kB / 0.7956 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.7704, allocations: 41.61 kB / 0.7957 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.7704, allocations: 23.53 kB / 0.7957 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.7723, allocations: 1.174 MB / 0.7968 GB, free: 11.68 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.004162/0.7765, allocations: 2.853 MB / 0.7996 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.7789, allocations: 0.9762 MB / 0.8006 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.7794, allocations: 315.8 kB / 0.8009 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.7795, allocations: 30.7 kB / 0.8009 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/0.7805, allocations: 0.4994 MB / 0.8014 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.7805, allocations: 3.938 kB / 0.8014 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003164/0.7837, allocations: 1.225 MB / 0.8026 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.7838, allocations: 197.8 kB / 0.8028 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.7845, allocations: 0.6443 MB / 0.8034 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.7845, allocations: 44.58 kB / 0.8034 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.7848, allocations: 423.1 kB / 0.8038 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.785, allocations: 266.5 kB / 0.8041 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.7853, allocations: 168.5 kB / 0.8043 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7855, allocations: 385.5 kB / 0.8046 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.7861, allocations: 280.7 kB / 0.8049 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.7867, allocations: 370.9 kB / 0.8052 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7878, allocations: 0.6288 MB / 0.8059 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7878, allocations: 0 / 0.8059 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001904/0.7898, allocations: 0.8684 MB / 0.8067 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7898, allocations: 8.25 kB / 0.8067 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7898, allocations: 7.312 kB / 0.8067 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.7904, allocations: 78.36 kB / 0.8068 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.7911, allocations: 173.8 kB / 0.807 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.7931, allocations: 1.626 MB / 0.8086 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.7938, allocations: 94.22 kB / 0.8086 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.7939, allocations: 37.25 kB / 0.8087 GB, free: 6.281 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.0003883/0.7943, allocations: 274.8 kB / 0.8089 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.7945, allocations: 87.59 kB / 0.809 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.7969, allocations: 1.094 MB / 0.8101 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.7969, allocations: 10.09 kB / 0.8101 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7969, allocations: 4 kB / 0.8101 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.7969, allocations: 7.969 kB / 0.8101 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.8003, allocations: 2.003 MB / 0.8121 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8003, allocations: 4 kB / 0.8121 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.8009, allocations: 155.5 kB / 0.8122 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.8014, allocations: 69.8 kB / 0.8123 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.8014, allocations: 36.22 kB / 0.8123 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.8034, allocations: 1.651 MB / 0.8139 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8034, allocations: 7.734 kB / 0.8139 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.8056, allocations: 1.025 MB / 0.8149 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.806, allocations: 267.2 kB / 0.8152 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.8062, allocations: 25.17 kB / 0.8152 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.8069, allocations: 63.12 kB / 0.8153 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.8071, allocations: 73.73 kB / 0.8154 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/0.8072, allocations: 40.72 kB / 0.8154 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006007/0.8078, allocations: 465.9 kB / 0.8158 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8078, allocations: 0 / 0.8158 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001022/0.8088, allocations: 336.7 kB / 0.8162 GB, free: 1.332 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.001549/0.8104, allocations: 0.6081 MB / 0.8168 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.8123, allocations: 0.8492 MB / 0.8176 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8124, allocations: 3.188 kB / 0.8176 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.8134, allocations: 0.5338 MB / 0.8181 GB, free: 316 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.8148, allocations: 308 kB / 0.8184 GB, free: 160 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.8181, allocations: 1.723 MB / 0.8201 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.8188, allocations: 1.045 MB / 0.8211 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.8197, allocations: 273.1 kB / 0.8214 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.82, allocations: 108.6 kB / 0.8215 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.82, allocations: 0 / 0.8215 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.02895/0.8489, allocations: 16.01 MB / 0.8371 GB, free: 1.277 MB / 0.6075 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)