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.001228/0.001229, allocations: 91.92 kB / 15.7 MB, free: 472 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.0009522/0.0009524, allocations: 171.4 kB / 16.58 MB, free: 5.648 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.428/1.428, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 12 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 77.52 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005414/0.1748, allocations: 4.419 MB / 0.5636 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4608/0.6356, allocations: 136.9 MB / 0.6973 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.6364, allocations: 15.94 kB / 0.6973 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.637, allocations: 154.8 kB / 0.6975 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.6386, allocations: 469.7 kB / 0.6979 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.6403, allocations: 0.6474 MB / 0.6985 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.6417, allocations: 1.245 MB / 0.6998 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.6425, allocations: 0.5075 MB / 0.7002 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.6431, allocations: 358.4 kB / 0.7006 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.6436, allocations: 394 kB / 0.701 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.6437, allocations: 24 kB / 0.701 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.6445, allocations: 335.7 kB / 0.7013 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.6447, allocations: 191.1 kB / 0.7015 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.6449, allocations: 217.1 kB / 0.7017 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.6461, allocations: 1.235 MB / 0.7029 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6461, allocations: 8 kB / 0.7029 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6462, allocations: 0 / 0.7029 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.6462, allocations: 0 / 0.7029 GB, free: 4.102 MB / 0.5137 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.002225/0.6484, allocations: 1.286 MB / 0.7042 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6485, allocations: 8.031 kB / 0.7042 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.6495, allocations: 226.3 kB / 0.7044 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6505, allocations: 0.7341 MB / 0.7051 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.6506, allocations: 70 kB / 0.7052 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6507, allocations: 91.95 kB / 0.7053 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.6524, allocations: 1.007 MB / 0.7062 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6524, allocations: 4 kB / 0.7063 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.6525, allocations: 40 kB / 0.7063 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.6525, allocations: 28 kB / 0.7063 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.6544, allocations: 1.167 MB / 0.7075 GB, free: 15.32 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.004237/0.6586, allocations: 2.923 MB / 0.7103 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.6609, allocations: 0.9693 MB / 0.7113 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.6615, allocations: 322.3 kB / 0.7116 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.6616, allocations: 38.3 kB / 0.7116 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009242/0.6625, allocations: 0.5029 MB / 0.7121 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.6625, allocations: 8 kB / 0.7121 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.003086/0.6656, allocations: 1.229 MB / 0.7133 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.6657, allocations: 192.5 kB / 0.7135 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.6665, allocations: 0.6449 MB / 0.7141 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.6666, allocations: 41.7 kB / 0.7142 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.6669, allocations: 416.3 kB / 0.7145 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.6672, allocations: 268.2 kB / 0.7148 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.6672, allocations: 16 kB / 0.7148 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6674, allocations: 382.8 kB / 0.7152 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.6679, allocations: 281.8 kB / 0.7155 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.6686, allocations: 371.1 kB / 0.7158 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.6692, allocations: 314.9 kB / 0.7161 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6692, allocations: 4 kB / 0.7161 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001873/0.6711, allocations: 0.8856 MB / 0.717 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6711, allocations: 7.984 kB / 0.717 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6711, allocations: 4 kB / 0.717 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/0.6717, allocations: 76.81 kB / 0.7171 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.6724, allocations: 167.8 kB / 0.7172 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6743, allocations: 1.529 MB / 0.7187 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.675, allocations: 108.1 kB / 0.7188 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.6751, allocations: 31.98 kB / 0.7188 GB, free: 3.211 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004796/0.6756, allocations: 277.1 kB / 0.7191 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6757, allocations: 86.92 kB / 0.7192 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.6782, allocations: 1.118 MB / 0.7203 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6782, allocations: 8 kB / 0.7203 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6782, allocations: 3.938 kB / 0.7203 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.6782, allocations: 3.984 kB / 0.7203 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.6815, allocations: 2.004 MB / 0.7223 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6815, allocations: 0 / 0.7223 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.6822, allocations: 159.8 kB / 0.7224 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.6826, allocations: 88.7 kB / 0.7225 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.6827, allocations: 23.98 kB / 0.7225 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.6845, allocations: 1.548 MB / 0.724 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6846, allocations: 0 / 0.724 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.6867, allocations: 1.023 MB / 0.725 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.6874, allocations: 283.6 kB / 0.7253 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.6876, allocations: 24 kB / 0.7253 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.6883, allocations: 90.97 kB / 0.7254 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6885, allocations: 72.89 kB / 0.7255 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.6886, allocations: 35.97 kB / 0.7255 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006638/0.6892, allocations: 463 kB / 0.726 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6893, allocations: 0 / 0.726 GB, free: 11.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001113/0.6904, allocations: 331.2 kB / 0.7263 GB, free: 11.35 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/0.692, allocations: 0.6032 MB / 0.7269 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.6938, allocations: 0.8674 MB / 0.7277 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6938, allocations: 0 / 0.7277 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.6948, allocations: 0.5314 MB / 0.7282 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.6962, allocations: 266.8 kB / 0.7285 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.7002, allocations: 2.137 MB / 0.7306 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.701, allocations: 1.044 MB / 0.7316 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001054/0.7021, allocations: 274.9 kB / 0.7318 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.7024, allocations: 107.4 kB / 0.732 GB, free: 5.641 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.7024, allocations: 0 / 0.732 GB, free: 5.641 MB / 0.545 GB Notification: Performance of Templates: time 0.02878/0.7312, allocations: 14.37 MB / 0.746 GB, free: 7.473 MB / 0.5606 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)