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.0009163/0.0009162, allocations: 95.88 kB / 15.68 MB, free: 488 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.00105/0.00105, allocations: 174.7 kB / 16.56 MB, free: 6.391 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.378/1.378, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6748/0.6748, allocations: 113.8 MB / 405.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 9.562 kB / 493 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 77.16 MB / 0.5568 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.0043/0.162, allocations: 3.655 MB / 0.5604 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4666/0.6286, allocations: 127.5 MB / 0.685 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.6291, allocations: 19.88 kB / 0.685 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.6294, allocations: 75.33 kB / 0.685 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.6305, allocations: 0.4946 MB / 0.6855 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.632, allocations: 0.6324 MB / 0.6862 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000967/0.633, allocations: 0.8183 MB / 0.6869 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.6337, allocations: 0.5468 MB / 0.6875 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.6342, allocations: 342.5 kB / 0.6878 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.6346, allocations: 346.1 kB / 0.6881 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.6347, allocations: 28 kB / 0.6882 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.6353, allocations: 311.6 kB / 0.6885 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.6355, allocations: 191.2 kB / 0.6886 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.6357, allocations: 197.1 kB / 0.6888 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.6369, allocations: 1.226 MB / 0.69 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6369, allocations: 0 / 0.69 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6369, allocations: 0 / 0.69 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6369, allocations: 0 / 0.69 GB, free: 1.398 MB / 0.4981 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.002323/0.6392, allocations: 1.263 MB / 0.6913 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.6393, allocations: 12.02 kB / 0.6913 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6403, allocations: 222.4 kB / 0.6915 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6415, allocations: 0.7303 MB / 0.6922 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.6416, allocations: 85.92 kB / 0.6923 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6417, allocations: 91.95 kB / 0.6924 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.6433, allocations: 0.9995 MB / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6433, allocations: 0 / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.6434, allocations: 36 kB / 0.6934 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.6434, allocations: 24 kB / 0.6934 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.6452, allocations: 1.182 MB / 0.6946 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.6491, allocations: 2.651 MB / 0.6971 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.6512, allocations: 0.9752 MB / 0.6981 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.6513, allocations: 24.61 kB / 0.6981 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008394/0.6522, allocations: 0.5008 MB / 0.6986 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.6522, allocations: 4 kB / 0.6986 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.002855/0.655, allocations: 1.226 MB / 0.6998 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.6551, allocations: 188.6 kB / 0.7 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.6558, allocations: 0.6332 MB / 0.7006 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.6559, allocations: 49.7 kB / 0.7007 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.6562, allocations: 424.2 kB / 0.7011 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.6564, allocations: 268.1 kB / 0.7013 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.6565, allocations: 19.94 kB / 0.7013 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6566, allocations: 382.8 kB / 0.7017 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.6571, allocations: 257.9 kB / 0.7019 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.6577, allocations: 366.5 kB / 0.7023 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.6582, allocations: 298.9 kB / 0.7026 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6582, allocations: 0 / 0.7026 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001682/0.6599, allocations: 0.8253 MB / 0.7034 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6599, allocations: 7.984 kB / 0.7034 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6599, allocations: 4 kB / 0.7034 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.6605, allocations: 80.88 kB / 0.7035 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.6611, allocations: 155.8 kB / 0.7036 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.6629, allocations: 1.538 MB / 0.7051 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.6636, allocations: 102.9 kB / 0.7052 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.6637, allocations: 31.97 kB / 0.7053 GB, free: 1.293 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0004082/0.6641, allocations: 266.3 kB / 0.7055 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6642, allocations: 90.91 kB / 0.7056 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6664, allocations: 1.114 MB / 0.7067 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.6665, allocations: 8 kB / 0.7067 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.6665, allocations: 0 / 0.7067 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6665, allocations: 3.984 kB / 0.7067 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.6698, allocations: 2.017 MB / 0.7087 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6698, allocations: 3.953 kB / 0.7087 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.6704, allocations: 159.8 kB / 0.7088 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.6709, allocations: 80.78 kB / 0.7089 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.671, allocations: 27.97 kB / 0.7089 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6728, allocations: 1.552 MB / 0.7104 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6728, allocations: 4.094 kB / 0.7104 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.6749, allocations: 1.023 MB / 0.7114 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.6753, allocations: 295.6 kB / 0.7117 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6754, allocations: 20 kB / 0.7117 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.6761, allocations: 87.86 kB / 0.7118 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.6762, allocations: 72.89 kB / 0.7119 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.6763, allocations: 31.98 kB / 0.7119 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000592/0.6769, allocations: 463 kB / 0.7124 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6769, allocations: 0 / 0.7124 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009659/0.6779, allocations: 327.1 kB / 0.7127 GB, free: 9.43 MB / 0.5294 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.001337/0.6792, allocations: 0.6044 MB / 0.7133 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.681, allocations: 0.8235 MB / 0.7141 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.681, allocations: 0 / 0.7141 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.6819, allocations: 0.5198 MB / 0.7146 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6829, allocations: 242.1 kB / 0.7148 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.6871, allocations: 2.286 MB / 0.7171 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.6877, allocations: 1.063 MB / 0.7181 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009449/0.6887, allocations: 262.8 kB / 0.7183 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.689, allocations: 115.3 kB / 0.7184 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of SimCode: time 1.263e-06/0.689, allocations: 0 / 0.7184 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of Templates: time 0.02465/0.7136, allocations: 13.98 MB / 0.7321 GB, free: 5.832 MB / 0.545 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)