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.001305/0.001305, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 183.9 kB / 16.92 MB, free: 6.934 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7155/0.7155, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 77.54 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00609/0.17, allocations: 4.684 MB / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4678/0.6378, allocations: 146.7 MB / 0.7078 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.6389, allocations: 19.81 kB / 0.7079 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.6395, allocations: 158.8 kB / 0.708 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.6412, allocations: 490 kB / 0.7085 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.6431, allocations: 0.7398 MB / 0.7092 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.6446, allocations: 1.339 MB / 0.7105 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009388/0.6456, allocations: 0.6204 MB / 0.7111 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.6462, allocations: 366.3 kB / 0.7115 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.6467, allocations: 413.7 kB / 0.7119 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.6468, allocations: 24 kB / 0.7119 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/0.6476, allocations: 371.6 kB / 0.7122 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.6478, allocations: 191.1 kB / 0.7124 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.6483, allocations: 0.4909 MB / 0.7129 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.6499, allocations: 1.584 MB / 0.7144 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6499, allocations: 0 / 0.7144 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6499, allocations: 0 / 0.7144 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6499, allocations: 4 kB / 0.7144 GB, free: 8.488 MB / 0.5294 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.002444/0.6524, allocations: 1.263 MB / 0.7157 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6524, allocations: 12.03 kB / 0.7157 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6535, allocations: 231.2 kB / 0.7159 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6547, allocations: 0.7618 MB / 0.7167 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.6547, allocations: 73.98 kB / 0.7167 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.6549, allocations: 92 kB / 0.7168 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.6566, allocations: 1.007 MB / 0.7178 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6567, allocations: 0 / 0.7178 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.6568, allocations: 40 kB / 0.7178 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6568, allocations: 24 kB / 0.7179 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.6588, allocations: 1.186 MB / 0.719 GB, free: 3.684 MB / 0.5294 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.004614/0.6634, allocations: 2.914 MB / 0.7219 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.6659, allocations: 0.9826 MB / 0.7228 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.6665, allocations: 318.7 kB / 0.7231 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.748e-05/0.6666, allocations: 28.61 kB / 0.7231 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009456/0.6676, allocations: 0.5068 MB / 0.7236 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.6676, allocations: 0 / 0.7236 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003379/0.671, allocations: 1.241 MB / 0.7249 GB, free: 13.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.6711, allocations: 200.5 kB / 0.725 GB, free: 13.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.672, allocations: 0.6409 MB / 0.7257 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.64e-05/0.6721, allocations: 49.64 kB / 0.7257 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.6726, allocations: 428.2 kB / 0.7261 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.6729, allocations: 260.2 kB / 0.7264 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.673, allocations: 73.67 kB / 0.7264 GB, free: 11.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003169/0.6733, allocations: 386.8 kB / 0.7268 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.674, allocations: 277.8 kB / 0.7271 GB, free: 11.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.6747, allocations: 379.1 kB / 0.7274 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.676, allocations: 0.6307 MB / 0.7281 GB, free: 10.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6761, allocations: 0 / 0.7281 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002287/0.6784, allocations: 0.8801 MB / 0.7289 GB, free: 9.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.6784, allocations: 11.94 kB / 0.7289 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6784, allocations: 4.484 kB / 0.7289 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.679, allocations: 92.78 kB / 0.729 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.6797, allocations: 167.8 kB / 0.7292 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6821, allocations: 1.524 MB / 0.7307 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6832, allocations: 107.4 kB / 0.7308 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/0.6833, allocations: 41.84 kB / 0.7308 GB, free: 7.145 MB / 0.545 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.0006667/0.684, allocations: 271.5 kB / 0.7311 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.6842, allocations: 90.94 kB / 0.7312 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.6868, allocations: 1.105 MB / 0.7322 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6868, allocations: 11.98 kB / 0.7322 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6868, allocations: 3.938 kB / 0.7323 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.6868, allocations: 7.984 kB / 0.7323 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.6903, allocations: 1.997 MB / 0.7342 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6903, allocations: 0 / 0.7342 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.6909, allocations: 159.8 kB / 0.7344 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/0.6915, allocations: 84.77 kB / 0.7344 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.6915, allocations: 23.98 kB / 0.7345 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.6935, allocations: 1.552 MB / 0.736 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6935, allocations: 3.938 kB / 0.736 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.6956, allocations: 1.031 MB / 0.737 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.6961, allocations: 291.6 kB / 0.7373 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6962, allocations: 23.98 kB / 0.7373 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.6969, allocations: 81.56 kB / 0.7374 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.6971, allocations: 72.83 kB / 0.7374 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.6972, allocations: 43.91 kB / 0.7375 GB, free: 48 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006337/0.6978, allocations: 467.1 kB / 0.7379 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6978, allocations: 0 / 0.7379 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001032/0.6989, allocations: 343.1 kB / 0.7383 GB, free: 15.26 MB / 0.5606 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.001457/0.7003, allocations: 0.5932 MB / 0.7388 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.7022, allocations: 0.8669 MB / 0.7397 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7022, allocations: 0 / 0.7397 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7034, allocations: 0.5315 MB / 0.7402 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.7049, allocations: 274.7 kB / 0.7405 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.709, allocations: 2.211 MB / 0.7426 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009885/0.71, allocations: 1.039 MB / 0.7436 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001201/0.7112, allocations: 278.8 kB / 0.7439 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.7115, allocations: 107.4 kB / 0.744 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.7115, allocations: 0 / 0.744 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.02783/0.7394, allocations: 14.81 MB / 0.7585 GB, free: 10.86 MB / 0.5762 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)