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.001048/0.001048, allocations: 105 kB / 16.52 MB, free: 6.66 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.001096/0.001097, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6991/0.6991, allocations: 115.3 MB / 406.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 67.88 kB / 493.6 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3586, allocations: 76.16 MB / 0.5564 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005433/0.3641, allocations: 4.955 MB / 0.5612 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1597/0.5238, allocations: 148.5 MB / 0.7062 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.525, allocations: 19.88 kB / 0.7062 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.5259, allocations: 154.8 kB / 0.7064 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.5281, allocations: 0.4896 MB / 0.7069 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.5302, allocations: 0.7397 MB / 0.7076 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.5319, allocations: 1.362 MB / 0.7089 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009565/0.5329, allocations: 0.5634 MB / 0.7095 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007835/0.5337, allocations: 462.1 kB / 0.7099 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.5344, allocations: 0.4938 MB / 0.7104 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.5347, allocations: 60 kB / 0.7105 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.5357, allocations: 399.6 kB / 0.7108 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.5359, allocations: 247 kB / 0.7111 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.5366, allocations: 0.5243 MB / 0.7116 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.5379, allocations: 1.236 MB / 0.7128 GB, free: 3.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.538, allocations: 4 kB / 0.7128 GB, free: 3.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.11e-07/0.538, allocations: 0 / 0.7128 GB, free: 3.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.538, allocations: 4 kB / 0.7128 GB, free: 3.969 MB / 0.545 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.003022/0.541, allocations: 1.479 MB / 0.7142 GB, free: 2.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5411, allocations: 8.031 kB / 0.7142 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.542, allocations: 195.3 kB / 0.7144 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.543, allocations: 0.7585 MB / 0.7152 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.5431, allocations: 66 kB / 0.7152 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.5432, allocations: 84 kB / 0.7153 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5449, allocations: 0.9652 MB / 0.7163 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5449, allocations: 0 / 0.7163 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.545, allocations: 36 kB / 0.7163 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.545, allocations: 24 kB / 0.7163 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.5469, allocations: 1.155 MB / 0.7174 GB, free: 15.07 MB / 0.5606 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.004217/0.5512, allocations: 2.881 MB / 0.7203 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.5527, allocations: 0.8525 MB / 0.7211 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.5532, allocations: 330.7 kB / 0.7214 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/0.5533, allocations: 36.67 kB / 0.7214 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.5543, allocations: 0.5267 MB / 0.722 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/0.5543, allocations: 4 kB / 0.722 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00335/0.5577, allocations: 1.298 MB / 0.7232 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5578, allocations: 196.9 kB / 0.7234 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.5586, allocations: 0.6527 MB / 0.7241 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.5587, allocations: 45.7 kB / 0.7241 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.559, allocations: 404.4 kB / 0.7245 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.5592, allocations: 280 kB / 0.7247 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.5595, allocations: 178.5 kB / 0.7249 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5597, allocations: 390.7 kB / 0.7253 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.5602, allocations: 293.8 kB / 0.7256 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/0.5609, allocations: 395 kB / 0.7259 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5621, allocations: 0.6594 MB / 0.7266 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5621, allocations: 3.938 kB / 0.7266 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0021/0.5642, allocations: 0.9151 MB / 0.7275 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5642, allocations: 7.938 kB / 0.7275 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5643, allocations: 0 / 0.7275 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.5649, allocations: 84.89 kB / 0.7276 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.5656, allocations: 183.7 kB / 0.7278 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5678, allocations: 1.526 MB / 0.7292 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.5687, allocations: 95.38 kB / 0.7293 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.5688, allocations: 43.97 kB / 0.7294 GB, free: 2.422 MB / 0.5606 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.0005006/0.5693, allocations: 280.3 kB / 0.7296 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.5695, allocations: 90.88 kB / 0.7297 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.5721, allocations: 1.16 MB / 0.7309 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.5721, allocations: 12 kB / 0.7309 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5721, allocations: 11.88 kB / 0.7309 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5721, allocations: 3.984 kB / 0.7309 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5733, allocations: 0.9347 MB / 0.7318 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5733, allocations: 0 / 0.7318 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5739, allocations: 155.8 kB / 0.732 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005268/0.5745, allocations: 92.75 kB / 0.732 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.5745, allocations: 27.98 kB / 0.7321 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.5764, allocations: 1.551 MB / 0.7336 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5764, allocations: 0 / 0.7336 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.5785, allocations: 0.998 MB / 0.7346 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.5789, allocations: 275.7 kB / 0.7348 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.579, allocations: 24 kB / 0.7348 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.5797, allocations: 73.27 kB / 0.7349 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5799, allocations: 72.89 kB / 0.735 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.58, allocations: 43.97 kB / 0.735 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005883/0.5806, allocations: 479 kB / 0.7355 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5806, allocations: 0 / 0.7355 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008418/0.5814, allocations: 339.2 kB / 0.7358 GB, free: 11.59 MB / 0.5762 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.001339/0.5828, allocations: 0.5991 MB / 0.7364 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.5846, allocations: 0.8936 MB / 0.7373 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5846, allocations: 0 / 0.7373 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.5856, allocations: 0.5394 MB / 0.7378 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5867, allocations: 293.9 kB / 0.7381 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5902, allocations: 2.206 MB / 0.7402 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.5909, allocations: 1.044 MB / 0.7412 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.5914, allocations: 123.4 kB / 0.7414 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.5914, allocations: 0 / 0.7414 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of Templates: time 0.2578/0.8491, allocations: 19.31 MB / 0.7602 GB, free: 168.9 MB / 0.5762 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)