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.001329/0.001329, allocations: 103.3 kB / 15.98 MB, free: 6.328 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.001218/0.001218, allocations: 195.8 kB / 16.91 MB, free: 6.168 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7572/0.7572, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 0.4906 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 77.91 MB / 0.5667 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006407/0.3389, allocations: 4.964 MB / 0.5715 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.161/0.4999, allocations: 148.6 MB / 0.7166 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.5016, allocations: 19.88 kB / 0.7167 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5027, allocations: 154.8 kB / 0.7168 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.5054, allocations: 0.4919 MB / 0.7173 GB, free: 268 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.5076, allocations: 0.7634 MB / 0.718 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.5096, allocations: 1.448 MB / 0.7194 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.5106, allocations: 0.5832 MB / 0.72 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007649/0.5113, allocations: 0.5138 MB / 0.7205 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.5121, allocations: 0.5329 MB / 0.721 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.5123, allocations: 120 kB / 0.7211 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.5133, allocations: 455.6 kB / 0.7216 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.5136, allocations: 319 kB / 0.7219 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.5141, allocations: 0.5868 MB / 0.7225 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5159, allocations: 1.643 MB / 0.7241 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5159, allocations: 0 / 0.7241 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.516, allocations: 0 / 0.7241 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.516, allocations: 4 kB / 0.7241 GB, free: 9.273 MB / 0.5606 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.00269/0.5187, allocations: 1.483 MB / 0.7255 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5187, allocations: 15.97 kB / 0.7255 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5197, allocations: 187.4 kB / 0.7257 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5209, allocations: 0.7585 MB / 0.7265 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.5209, allocations: 66 kB / 0.7265 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5211, allocations: 88 kB / 0.7266 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.5227, allocations: 0.9691 MB / 0.7275 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5228, allocations: 3.938 kB / 0.7276 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.5229, allocations: 36 kB / 0.7276 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.872e-05/0.5229, allocations: 20 kB / 0.7276 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5248, allocations: 1.159 MB / 0.7287 GB, free: 4.359 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.004458/0.5292, allocations: 2.891 MB / 0.7316 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5308, allocations: 0.8409 MB / 0.7324 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.5314, allocations: 326.7 kB / 0.7327 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.483e-05/0.5315, allocations: 32.69 kB / 0.7327 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5326, allocations: 0.5316 MB / 0.7332 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.096e-06/0.5326, allocations: 0 / 0.7332 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003569/0.5361, allocations: 1.29 MB / 0.7345 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.5363, allocations: 200.8 kB / 0.7347 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.5371, allocations: 0.6527 MB / 0.7353 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.5372, allocations: 45.7 kB / 0.7354 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5375, allocations: 412.4 kB / 0.7358 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.5377, allocations: 275.9 kB / 0.736 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.538, allocations: 186.4 kB / 0.7362 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5382, allocations: 386.7 kB / 0.7366 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.5388, allocations: 293.8 kB / 0.7369 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.5395, allocations: 395.1 kB / 0.7372 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.5407, allocations: 0.6516 MB / 0.7379 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5407, allocations: 4 kB / 0.7379 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00215/0.5428, allocations: 0.9191 MB / 0.7388 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5429, allocations: 7.938 kB / 0.7388 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5429, allocations: 0 / 0.7388 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.5435, allocations: 84.83 kB / 0.7389 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.5443, allocations: 171.8 kB / 0.739 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.5466, allocations: 1.647 MB / 0.7406 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.5474, allocations: 107.2 kB / 0.7407 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.5475, allocations: 47.91 kB / 0.7408 GB, free: 7.582 MB / 0.5762 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.0004537/0.548, allocations: 263.9 kB / 0.741 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.5482, allocations: 86.97 kB / 0.7411 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.5509, allocations: 1.171 MB / 0.7423 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.551, allocations: 16 kB / 0.7423 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.551, allocations: 0 / 0.7423 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.551, allocations: 7.969 kB / 0.7423 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.5523, allocations: 0.9268 MB / 0.7432 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5523, allocations: 4 kB / 0.7432 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.553, allocations: 155.7 kB / 0.7433 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/0.5535, allocations: 76.78 kB / 0.7434 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.5536, allocations: 27.92 kB / 0.7434 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.5555, allocations: 1.658 MB / 0.7451 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5555, allocations: 0 / 0.7451 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.5576, allocations: 1.002 MB / 0.746 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.558, allocations: 275.7 kB / 0.7463 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.5582, allocations: 23.91 kB / 0.7463 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/0.5589, allocations: 79.8 kB / 0.7464 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.559, allocations: 76.89 kB / 0.7465 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5591, allocations: 39.97 kB / 0.7465 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006023/0.5597, allocations: 475 kB / 0.747 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5597, allocations: 0 / 0.747 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008939/0.5606, allocations: 343.2 kB / 0.7473 GB, free: 0.6523 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.001423/0.5621, allocations: 0.6157 MB / 0.7479 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2397/0.8018, allocations: 1.096 MB / 0.749 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8019, allocations: 1.156 kB / 0.749 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.803, allocations: 0.5548 MB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.8044, allocations: 302.5 kB / 0.7498 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.8077, allocations: 2.164 MB / 0.7519 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.8083, allocations: 1.04 MB / 0.7529 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001098/0.8094, allocations: 271 kB / 0.7532 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.8098, allocations: 117.8 kB / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.8098, allocations: 0.6875 kB / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02894/0.8387, allocations: 15.81 MB / 0.7687 GB, free: 163.3 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)