Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 104.7 kB / 16.4 MB, free: 6.504 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.001125/0.001125, allocations: 192 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241 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.707/0.707, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.55 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006124/0.1341, allocations: 4.959 MB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5025/0.6366, allocations: 150.8 MB / 0.7842 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.6375, allocations: 19.44 kB / 0.7842 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.638, allocations: 193.2 kB / 0.7844 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.6397, allocations: 0.5751 MB / 0.7849 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6415, allocations: 0.8411 MB / 0.7858 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.6428, allocations: 1.458 MB / 0.7872 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.6436, allocations: 0.5872 MB / 0.7878 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.6442, allocations: 0.5168 MB / 0.7883 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.6447, allocations: 0.5316 MB / 0.7888 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.6449, allocations: 119.1 kB / 0.7889 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009069/0.6458, allocations: 496 kB / 0.7894 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.646, allocations: 305.5 kB / 0.7897 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.6465, allocations: 0.5859 MB / 0.7902 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.6482, allocations: 1.681 MB / 0.7919 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6483, allocations: 2.875 kB / 0.7919 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6483, allocations: 0 / 0.7919 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.6483, allocations: 5.781 kB / 0.7919 GB, free: 13.12 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002471/0.6508, allocations: 1.475 MB / 0.7933 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6508, allocations: 10.34 kB / 0.7933 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.6517, allocations: 191.9 kB / 0.7935 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.6527, allocations: 0.7838 MB / 0.7943 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.6528, allocations: 66.44 kB / 0.7943 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.6529, allocations: 87.59 kB / 0.7944 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6543, allocations: 0.968 MB / 0.7954 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6544, allocations: 0 / 0.7954 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.6544, allocations: 37.81 kB / 0.7954 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.6545, allocations: 21.09 kB / 0.7954 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.656, allocations: 1.155 MB / 0.7966 GB, free: 11.72 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.003613/0.6596, allocations: 2.864 MB / 0.7994 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.661, allocations: 0.8545 MB / 0.8002 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.6615, allocations: 320.3 kB / 0.8005 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.6616, allocations: 30.78 kB / 0.8005 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000799/0.6624, allocations: 0.538 MB / 0.801 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.014e-06/0.6624, allocations: 3.75 kB / 0.801 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003125/0.6655, allocations: 1.296 MB / 0.8023 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.6656, allocations: 188.5 kB / 0.8025 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.6663, allocations: 0.6568 MB / 0.8031 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.6664, allocations: 46.8 kB / 0.8032 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.6667, allocations: 402.2 kB / 0.8036 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.6669, allocations: 283.3 kB / 0.8038 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.6671, allocations: 179.5 kB / 0.804 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6673, allocations: 391.3 kB / 0.8044 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.6678, allocations: 293 kB / 0.8047 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.6683, allocations: 388 kB / 0.805 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6694, allocations: 0.6614 MB / 0.8057 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6694, allocations: 2.531 kB / 0.8057 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001802/0.6712, allocations: 0.9171 MB / 0.8066 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6712, allocations: 9.469 kB / 0.8066 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6712, allocations: 3.938 kB / 0.8066 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.6719, allocations: 86.36 kB / 0.8067 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/0.6727, allocations: 177.2 kB / 0.8068 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.6746, allocations: 1.63 MB / 0.8084 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.6754, allocations: 104.2 kB / 0.8085 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.6755, allocations: 40.03 kB / 0.8086 GB, free: 6.426 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0003867/0.6759, allocations: 281.2 kB / 0.8088 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.676, allocations: 85.66 kB / 0.8089 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.6784, allocations: 1.16 MB / 0.81 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6784, allocations: 13.78 kB / 0.8101 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.6784, allocations: 2.406 kB / 0.8101 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6784, allocations: 7.922 kB / 0.8101 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.6794, allocations: 0.9396 MB / 0.811 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6794, allocations: 0 / 0.811 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.68, allocations: 153.1 kB / 0.8111 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.6805, allocations: 71.94 kB / 0.8112 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.6805, allocations: 30.09 kB / 0.8112 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.6823, allocations: 1.661 MB / 0.8129 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6823, allocations: 4.062 kB / 0.8129 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.6843, allocations: 0.9985 MB / 0.8138 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.6846, allocations: 278.4 kB / 0.8141 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6848, allocations: 25.08 kB / 0.8141 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.6854, allocations: 64.34 kB / 0.8142 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.6856, allocations: 86.81 kB / 0.8143 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.6857, allocations: 33.17 kB / 0.8143 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000545/0.6862, allocations: 478.7 kB / 0.8148 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6862, allocations: 3.938 kB / 0.8148 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008406/0.6871, allocations: 342.7 kB / 0.8151 GB, free: 2.035 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001293/0.6884, allocations: 0.6053 MB / 0.8157 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.6903, allocations: 0.8913 MB / 0.8165 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6903, allocations: 2.25 kB / 0.8165 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.6913, allocations: 0.5584 MB / 0.8171 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6926, allocations: 305.8 kB / 0.8174 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.6957, allocations: 1.722 MB / 0.8191 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.6963, allocations: 1.042 MB / 0.8201 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008075/0.6971, allocations: 273 kB / 0.8203 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.6974, allocations: 113.4 kB / 0.8205 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/0.6974, allocations: 0 / 0.8205 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.02689/0.7243, allocations: 16.09 MB / 0.8362 GB, free: 2.223 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)