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.0009034/0.0009038, allocations: 99.28 kB / 16.02 MB, free: 80 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.0008552/0.0008552, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7216/0.7216, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 11.98 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4256, allocations: 79.28 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005883/0.4315, allocations: 4.529 MB / 0.5752 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1791/0.6107, allocations: 146.9 MB / 0.7186 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.6123, allocations: 15.94 kB / 0.7186 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.6131, allocations: 158.8 kB / 0.7188 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.6153, allocations: 0.4923 MB / 0.7193 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.6174, allocations: 0.7233 MB / 0.72 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.6195, allocations: 1.362 MB / 0.7213 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.6205, allocations: 0.5595 MB / 0.7218 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009043/0.6214, allocations: 386.2 kB / 0.7222 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.622, allocations: 417.8 kB / 0.7226 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.39e-05/0.6221, allocations: 31.94 kB / 0.7226 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.6232, allocations: 367.7 kB / 0.723 GB, free: 172 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.6234, allocations: 199.1 kB / 0.7232 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.624, allocations: 498.6 kB / 0.7237 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.6258, allocations: 1.538 MB / 0.7252 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6258, allocations: 0 / 0.7252 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6258, allocations: 0 / 0.7252 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.6259, allocations: 0 / 0.7252 GB, free: 13.93 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.002512/0.6284, allocations: 1.27 MB / 0.7264 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6284, allocations: 8.031 kB / 0.7264 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009714/0.6294, allocations: 203.3 kB / 0.7266 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.6305, allocations: 0.7624 MB / 0.7273 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.6306, allocations: 66 kB / 0.7274 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6308, allocations: 87.98 kB / 0.7275 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.6324, allocations: 0.9652 MB / 0.7284 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.6324, allocations: 0 / 0.7284 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.6325, allocations: 40 kB / 0.7285 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.6326, allocations: 24 kB / 0.7285 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.6344, allocations: 1.163 MB / 0.7296 GB, free: 9.219 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.004501/0.6389, allocations: 2.916 MB / 0.7325 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.6406, allocations: 0.8526 MB / 0.7333 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.6412, allocations: 340 kB / 0.7336 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/0.6413, allocations: 32.67 kB / 0.7337 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009923/0.6423, allocations: 0.5394 MB / 0.7342 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.6423, allocations: 0 / 0.7342 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003449/0.6458, allocations: 1.306 MB / 0.7355 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6459, allocations: 200.9 kB / 0.7357 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.6468, allocations: 0.6489 MB / 0.7363 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.6468, allocations: 45.7 kB / 0.7363 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.6472, allocations: 408.4 kB / 0.7367 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.6474, allocations: 280 kB / 0.737 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.6476, allocations: 73.67 kB / 0.7371 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6477, allocations: 390.7 kB / 0.7374 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.6483, allocations: 297.8 kB / 0.7377 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.649, allocations: 399.1 kB / 0.7381 GB, free: 288 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6503, allocations: 0.6594 MB / 0.7387 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6503, allocations: 4 kB / 0.7387 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002114/0.6524, allocations: 0.9268 MB / 0.7397 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6525, allocations: 14.44 kB / 0.7397 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6525, allocations: 0 / 0.7397 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.6531, allocations: 88.77 kB / 0.7398 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.6539, allocations: 187.7 kB / 0.7399 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.656, allocations: 1.53 MB / 0.7414 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/0.6569, allocations: 115.3 kB / 0.7415 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.657, allocations: 39.97 kB / 0.7416 GB, free: 12.57 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.000483/0.6574, allocations: 279.7 kB / 0.7418 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6576, allocations: 86.97 kB / 0.7419 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6602, allocations: 1.171 MB / 0.7431 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.6602, allocations: 8 kB / 0.7431 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6602, allocations: 11.94 kB / 0.7431 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6602, allocations: 3.984 kB / 0.7431 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6614, allocations: 0.9345 MB / 0.744 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6614, allocations: 0 / 0.744 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.662, allocations: 159.8 kB / 0.7442 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.6626, allocations: 84.77 kB / 0.7442 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.6626, allocations: 27.97 kB / 0.7443 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.6645, allocations: 1.555 MB / 0.7458 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6645, allocations: 4.031 kB / 0.7458 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6666, allocations: 1.006 MB / 0.7468 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.667, allocations: 291.6 kB / 0.747 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6671, allocations: 27.98 kB / 0.7471 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.6679, allocations: 94.05 kB / 0.7472 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6681, allocations: 76.88 kB / 0.7472 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.6681, allocations: 35.98 kB / 0.7473 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005908/0.6687, allocations: 479 kB / 0.7477 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6687, allocations: 4 kB / 0.7477 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008758/0.6696, allocations: 335.2 kB / 0.7481 GB, free: 5.68 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.001355/0.671, allocations: 0.6012 MB / 0.7486 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.6728, allocations: 0.8977 MB / 0.7495 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6728, allocations: 0 / 0.7495 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.6738, allocations: 0.5548 MB / 0.7501 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6751, allocations: 284 kB / 0.7503 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.6785, allocations: 2.194 MB / 0.7525 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.6791, allocations: 1.036 MB / 0.7535 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009024/0.68, allocations: 271.2 kB / 0.7537 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.6803, allocations: 115.3 kB / 0.7539 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.6804, allocations: 0 / 0.7539 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.02621/0.7066, allocations: 15.12 MB / 0.7686 GB, free: 0.8945 MB / 0.5919 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)